Posts by Matheus Dias • 97 points
5 posts
-
3
votes1
answer117
viewsQ: Starting point of axis X using scale_x_date()
I am making a stacked area chart and use the following code ggplot(gdados, aes(Commissioned, acum, fill = Country)) + geom_area(col=c('black')) + scale_fill_brewer(palette = "Paired")+…
-
4
votes1
answer103
viewsQ: Stacked area chart
I’m trying to make an area chart according to the image below: But I’m using a different database than the one used for this graph and I’m having some questions: 1- I am using the following code:…
-
-1
votes1
answer338
viewsQ: Change plotting order of an area chart in R
I am using the following code to try to plot a graph ggplot(final2, aes(x = final2$a, y =final2$somaacumulada,fill=final2$Country)) + theme_bw()+ geom_area(position = position_dodge(width = 0.8))…
-
2
votes1
answer222
viewsQ: Dynamic table using database and Shiny
I’m creating a dynamic table using Shiny, but I have some questions: 1° how to integrate the column name of my database into a selectInput() so that only selected variables appear in the table and…
-
0
votes1
answer49
viewsQ: Update worksheet by another worksheet
I have two dataframes with identical columns, one being the database and another monthly updates. I need to update the database with these monthly updates. I thought of the following code:…