In my simple example, I try to plot the rows below x
and I am Y
, but I want to start with y
3 and go to 5. As of now y
starts at time 1 and goes on time only 3.
x
plot (x = 1: 5, y = x, type = "l") You must set both x and y
Em> coordinates for a 2D plot. Otherwise R assumes that they start with 1 and go to the length (vector).
Comments
Post a Comment