Re: [R] biplot.default

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed 19 Oct 2005 - 07:21:00 EST

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@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

______________________________________________
R-help@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
Received on Wed Oct 19 07:33:18 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 19:04:43 EST