[R] Legend with different sized symbols

2004-08-05 Thread J. Pedro Granadeiro
Dear list, I wonder if it is possible to produce a legend with symbols of different sizes using a single legend command. I managed to do so more or less like in this crude example, but there is probably a smarter and more practical way: set.seed(0) plot(rnorm(100), rnorm(100), cex=rep(1:5,each=

Re: [R] Common principle components

2004-05-26 Thread J. Pedro Granadeiro
. José Pedro Granadeiro On Quarta Maio 26 2004 13:31, you wrote: > Not sure what that (Common pc) is, but check prcomp() and princomp(). > Hank Stevens > > On May 26, 2004, at 6:40 AM, J. Pedro Granadeiro wrote: > > Dear all, > > > > Can anyone point me to a p

[R] Common principle components

2004-05-26 Thread J. Pedro Granadeiro
Dear all, Can anyone point me to a package that can perform Common principle components? Thank you. José P. Granadeiro __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! ht

[R] displaying column numbers when listing structure of an object

2004-05-17 Thread J. Pedro Granadeiro
Dear R helpers, Is there any simple way to display the column(s) numbers(s) when listing the structure of objects (especially for objects with large number of columns)? Example on a data.frame: str(data.frame(v1=c(1:10),v2=(11:20))) `data.frame': 10 obs. of 2 variables: 1.. $ v1: int 1 2 3