[R] Invalid plot type '1'
Stephen Liu
satimis at yahoo.com
Mon Aug 9 04:14:51 CEST 2010
Hi Erik,
I followed following video;
Statistics with R (part 3: plot and history tutorial)
http://www.youtube.com/watch?v=NfH5peM1RtI&feature=related
It is type = "1".
A graph was generated there. But I got an error msg
B.R.
Stephen
----- Original Message ----
From: Erik Iverson <eriki at ccbr.umn.edu>
To: Stephen Liu <satimis at yahoo.com>
Cc: r-help at r-project.org
Sent: Mon, August 9, 2010 9:55:51 AM
Subject: Re: [R] Invalid plot type '1'
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"?
More information about the R-help
mailing list