See the help for 'biplot'. For example:
require(graphics)
biplot(princomp(USArrests), xlabs=rep("+",nrow(USArrests)))
Kevin
On Fri, Apr 20, 2012 at 12:52 PM, Filoche <pmassicotte@hotmail.com> wrote:
> Hi everyone.
>
> I performing a simple PCA using the princomp function. Then, I use the
> biplot function to show it. However, the function use line number to
> represent samples. I would like to know if there's a way to use a dot
> (point) instead of the line number when using the biplot function.
>
> With regards,
> Phil
>
> --
> View this message in context:
>
http://r.789695.n4.nabble.com/Quick-question-about-princomp-biplot-tp4574831p4574831.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Kevin Wright
[[alternative HTML version deleted]]