Posts by Ceconello • 21 points
1 post
-
2
votes2
answers88
viewsQ: Select first with conditional
I am starting in R, and I have a data frame similar to this one below: x <- data.frame(cod_produto = c(1,1,1,2,2,2), valordia = c(0,0,150.23,110.98,18.65,0), data =…