Posts by João Pedro Bazzo Vieira • 41 points
3 posts
-
3
votes2
answers200
viewsA: How to modify only the line of the legend that identifies the group?
It was difficult to find a solution. I did it with some cambiarras, but it worked. Basically, I doubled the command geom_line() for an interval beyond the limits of the y-axis: value01+100.…
-
0
votes2
answers72
viewsA: How to Find a value between columns
Would this be? x = data.frame(Índice = c(1,2,3,4,5,6,7,8,9,10), Data = as.Date(c("2019-01-22", "2019-01-21", "2019-01-20", "2019-01-18", "2019-01-17", "2019-01-16", "2019-01-15", "2019-01-14",…
ranswered João Pedro Bazzo Vieira 41 -
1
votes2
answers60
viewsA: R Regression by condition using apply or for
So I hope you understand correctly. It’s not the most sophisticated way, but it should work. Let’s look at the data x # POP a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 #1 pop1 91.0 92.9 92.6 95.5…