Hi all,
Would some explain why the following code returns 2 rows?
d<-data.frame(id=c(1,2,3,4,5,6,7,8,9,10), x=c(1,2,3,4,3,4,5,2,3,2) )
d%>%arrange(d,x)
I know it should be d%>%arrange(x), just trying to understand how pipe/arrange work in this case.
Thnaks.