On 08/08/2010 08:47 PM, Stephen Liu wrote:
Hi folks,

x
[1] 1 2 3 4 5
y
[1]  6  7  8  9 10

plot(x,y, type = "1" )
Error in plot.xy(xy, type, ...) : invalid plot type '1'


I looked on man plot but unable to resolve.  Please help.  TIA

You never say what you expect type = "1" (that's the digit "1") to do.

Did you mean "l" instead of "1"?

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to