[R] biplot

Uwe Ligges ligges at statistik.uni-dortmund.de
Sat Apr 5 14:53:47 CEST 2003


Wolfgang Koller wrote:
> Dear list,
> 
>  I want to perform a biplot, using customized titels for the x and y axis.
> Setting xlab="" and ylab="" resulted in an error, e.g.:
> 
> 
>>data(USArrests)
>>biplot(princomp(USArrests),xlab="",ylab="")
> 
> Error in biplot.default(t(t(scores[, choices])/lam), t(t(x$loadings[,  : 
>         length of dimnames[1] not equal to array extent
> 
> 
> How do I proceed?
> 
> Thanks in advance!

This will work for R-1.7.0 (beta; in developement).
For the meantime follow Thomas Blackwell's suggestion.

Uwe Ligges



More information about the R-help mailing list