[R] biplot.default

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Oct 18 23:21:00 CEST 2005


On Tue, 18 Oct 2005, Jungyeon Yoon wrote:

> I've been trying to understand biplot. From
> getAnywhere(biplot.default), I could get the source code. However, there
> is one line that did make sense to me. It's the second line from the
> bottom.
>
> arrow(0, 0, y[,1]*0.8, y[,2]*0.8, col = col[2],....)
>
> I don't understand why there is a multiplication by 0.8 for y.

Try it without to see. It is to help the aesthetics of the plot.

-- 
Brian D. Ripley,                  ripley at 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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list