Java Mailing List Archive

http://www.r-help.com/

Home » Home (12/2007) » R Help for Statistical Computing »

Re: [R] Newbie guide for plot & graphics functions?

Uwe Ligges

2005-07-15

Replies:

Pete Cap wrote:

> Hello all,
>
> Can anyone point me to a decent introduction to using the plotting and assorted graphics functions in R?
>
> I keep getting simple errrors and I can't figure out why, for example:
>
>
>>image(x,y,z)
>
> Error in image.default(x, y, z) : dimensions of z are not length(x)(+1) times length(y)(+1)
>
>>length(x)
>
> [1] 206
>
>>length(y)
>
> [1] 40
>
>>dim(z)
>
> [1] 207 41
>
>
> It seems to me as if R is wrong--the matrix z is obviously of length(x)+1 times length(y)+1--but just as obviously I'm missing something essential. Are there any "newbie" guides out there for getting started?


Can you specify a reproducible examples, please?

Uwe Ligges


> TIA,
>
> Pete
>
>
>    
> ---------------------------------
>
>
>  [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@(protected)
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

______________________________________________
R-help@(protected)
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
©2008 r-help.com - Jax Systems, LLC, U.S.A.