[R] Plot(x,y)
David Winsemius
dwinsemius at comcast.net
Tue Aug 18 18:59:09 CEST 2009
On Aug 18, 2009, at 1:40 AM, Michael Knudsen wrote:
> On Sun, Aug 16, 2009 at 9:19 PM, malcolm
> Crouch<malcolm.croucher at gmail.com> wrote:
>
>>> plot(V6,V5, col="red")
>> or
>>> plot(V6,V5)
>
> It seems that V5 and V6 are column names in your data matrix. If your
> matrix is called data, you should use
>
> plot(x$V6,x$V5,col="red")
ITYM:
plot(data$V6, data$V5, col="red")
>
> instead.
>
> Best,
> Michael
David Winsemius, MD
Heritage Laboratories
West Hartford, CT
More information about the R-help
mailing list