[Rd] ylim in biplot does not seem to work (PR#1498)

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Tue, 30 Apr 2002 11:38:00 +0200 (MET DST)


You are using biplot.princomp here.

It works for me:

# example(biplot.princomp)
data(USArrests)
biplot(princomp(USArrests))
biplot(princomp(USArrests), ylim=c(-0.5, 0.5))

Note that there are two y axes, and both are changed.

Please read the section in the FAQ about supplying a reproducible example
if you think you have found a bug.

BTW, setting the axes on a princomp biplot seems unlikely to be
statistically sound to me.


On Tue, 30 Apr 2002 hgoehlma@prdbe.jnj.com wrote:

> Full_Name: Hinrich Göhlmann
> Version: 1.4.1
> OS: Windows 2000
> Submission from: (NULL) (148.177.130.121)
>
>
> Hi all,
>
> I've searched the known bugs and hopefully I did not oversee this one...
>
> When I have done a normal
> zz<-princomp(na.omit(raw.data))
>
> and I then draw a biplot with
> biplot(zz,cex=c(.1,.7),col=c(5,1),choice=c(1,2),xlim=c(-2,2),ylim=c(-5,2))
>
> the x axis gets set properly, but the y axis remains unchanged.
>
> Cheers,
> hinrich   d8-)
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._