[R] Newbie guide for plot & graphics functions?

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Jul 15 16:31:55 CEST 2005


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 at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list