I'm sorry to bother you, but I have no idea how to solve R.'s introductory exercise (Of course, I did really ambitiously before posting!). Thus, exercise "Create a vector z with all 99 differences between neighboring elements x for which z [1] = x [2] -x [1], z [2] = x [3] -x [2] ,. , "I guess it should work without loops. I guess this is pretty simple, but I'm completely new to R.
thanks for the help
source
share