Displaying 1 result from an estimated 1 matches for "a13498585".
2007 Oct 30
1
data.frame, ggplot vs matplot
Hello,
I've been trying to use ggplot, but I cannot seem to get my data in
the correct form. I usually have a vector x, and a matrix y and I
would usually use matplot(x,y) to plot the columns of y against x.
Now, if i understand correctly, I should cast x and y into a
data.frame and do something like ggplot(x,y,data=data). I think I'm
missing something here: do I really need to