Re: [R] biplot

2016-06-23 Thread S Ellison
> Rather than doing them manually, > you might have better luck with ggbiplot, and the ggrepel package designed to > 'repel' point labels so they don't overlap. For base graphics, 'thigmophobe.lables' in the plotrix package also works to avoid label overlap. Steve E *

Re: [R] biplot

2016-06-23 Thread Michael Friendly
On 6/22/2016 8:39 AM, Shane Carey wrote: Hey, Does anyone know how to remove labels from a biplot? I want to input them manually as they are currently overlapping. Rather than doing them manually, you might have better luck with ggbiplot, and the ggrepel package designed to 'repel' point lab

Re: [R] biplot

2016-06-22 Thread David L Carlson
6 10:44 AM To: Shane Carey; r-help@r-project.org Subject: Re: [R] biplot The xlabs= (rows) and ylabs= (columns) arguments handle the labels, but they do not recycle so you need to specify values for each row and each column: > set.seed(42) > x <- matrix(rnorm(500), 50, 10) > biplo

Re: [R] biplot

2016-06-22 Thread David L Carlson
The xlabs= (rows) and ylabs= (columns) arguments handle the labels, but they do not recycle so you need to specify values for each row and each column: > set.seed(42) > x <- matrix(rnorm(500), 50, 10) > biplot(prcomp(x), xlabs=rep("", 50), ylabs=rep("", 10)) -

Re: [R] biplot for principal componens analysis

2013-04-30 Thread capricy gao
very helpful!! Thanks a lot. From: Jim Lemon Cc: "r-help@r-project.org" Sent: Monday, April 29, 2013 6:53 PM Subject: Re: [R] biplot for principal componens analysis On 04/30/2013 08:24 AM, capricy gao wrote: > > > I did a PCA for

Re: [R] biplot for principal componens analysis

2013-04-29 Thread Jim Lemon
On 04/30/2013 08:24 AM, capricy gao wrote: I did a PCA for my data which has a dimension of 19000X4 using princomp pca2=princomp((data), cor=F) and obtained a biplot with 19000 labels which were very busy. How can I just show 19000 spot w/o labels? biplot(pca2) Hi capricy, I suppose

Re: [R] Biplot - how can I make it more readable?

2012-06-19 Thread David L Carlson
Take a look at the posting instructions: http://www.R-project.org/posting-guide.html to see how to attach a file. Yours did not make the trip. -- David L Carlson Associate Professor of Anthropology Texas A&M University College Station, TX 77843-4352 >

Re: [R] biplot breakdown help

2011-03-10 Thread Peter Ehlers
On 2011-03-09 12:14, chris20 wrote: Hi, I am trying to understand how the biplot.prcomp is constructed so I can manipulate it to emphasise particular observations and reduce the number of variables shown. The prcomp model I have ran has cor=TRUE and scale=TRUE I have worked out from looking at

Re: [R] Biplot: plot group name instead of row number

2010-10-23 Thread Uwe Ligges
On 21.10.2010 00:39, Alejo C.S. wrote: Dear list, I'm trying to make a biplot, but instead of plotting the row number for each observation, plot a group factor. Example: prcomp(iris[,1:4]) -> PCA biplot(PCA) #this makes a nice biplot but with row names Instead of row numbers I want to

Re: [R] Biplot for PCA using labdsv package

2010-04-09 Thread Jari Oksanen
Dilys Vela gmail.com> writes: > > Hi everyone, > > I am doing PCA with labdsv package. I was trying to create a biplot graphs > in order to observe arrows related to my variables. However when I run the > script for this graph, the console just keep saying: > > *Error in nrow(y) : element 1 is

Re: [R] Biplot for PCA using labdsv package

2010-04-05 Thread Michael Denslow
Hi Dilys, On Fri, Apr 2, 2010 at 3:08 AM, Dilys Vela wrote: > Hi everyone, > > I am doing PCA with labdsv package. I was trying to create a biplot graphs > in order to observe arrows related to my variables. However when I run the > script for this graph, the console just keep saying: > > *Error

Re: [R] biplot from stats: 0.8 ?

2010-01-27 Thread Kevin Wright
Probably so that the end of the arrow does not overplot the labels. Kevin On Wed, Jan 27, 2010 at 10:28 AM, Martin Ivanov wrote: > Dear forum, > I need to create biplot graphic. I took a look at the code of the > biplot.default function from the stats package and I found that the arrows > for

Re: [R] "biplot" graphical options?

2009-09-02 Thread Jari Oksanen
Manca Marco (PATH path.unimaas.nl> writes: . > I am struggling in the attempt to impose some graphical conditions (changing point symbols, colors, etc) > to biplot function (I am using it to visualize the results of princomp) but I can't apparently manage to > change anything but the axis... and

Re: [R] "biplot" graphical options?

2009-09-02 Thread Andris Jankevics
Hi, You can make a biplot on Your own, it is not so hard. And in this case You can change parameters for every low level function as You wish. PC <- prcomp (iris[,1:4]) lambda <- PC$sdev * sqrt(nrow(PC$x)) plot (t(t(PC$x)/lambda),pch=16,col=as.numeric(iris[,5])) par (new=T) Rot <- t(t(PC$rotation)

Re: [R] "biplot" graphical options?

2009-09-02 Thread Meyners, Michael, LAUSANNE, AppliedMathematics
Taking the example from ?biplot.princomp with reproducible code (hint, hint): biplot(princomp(USArrests)) biplot(princomp(USArrests), col=c(2,3), cex=c(1/2, 2)) clearly changes the color and font size on my system. For changing the "point symbols" (which are text by default), try setting xlabs a

Re: [R] Biplot connecting consecutive dates (ggplot?)

2008-10-09 Thread stephen sefick
qplot(V1, V2, data=f, colour=site) + geom_path() works thanks for the help On Thu, Oct 9, 2008 at 6:48 PM, hadley wickham <[EMAIL PROTECTED]> wrote: > On Thu, Oct 9, 2008 at 5:04 PM, stephen sefick <[EMAIL PROTECTED]> wrote: >> I would like to connect the dots based on when they occur in time. I

Re: [R] Biplot connecting consecutive dates (ggplot?)

2008-10-09 Thread hadley wickham
On Thu, Oct 9, 2008 at 5:04 PM, stephen sefick <[EMAIL PROTECTED]> wrote: > I would like to connect the dots based on when they occur in time. Is > there an easy way to do this? How exactly do you want to connect them? One approach is: qplot(V1, V2, data=f, colour=date) + geom_path() # or maybe

Re: [R] biplot

2007-11-20 Thread Prof Brian Ripley
On Tue, 20 Nov 2007, S Ellison wrote: > Also check the asp= parameter in plot.default and plot.window; this sets > the aspect ratio so that 1 unit in x is the same physicla length as 1 > unit in y. I don;t know whether it is respeced by your particular > biplot, though. That's not how biplot.defa

Re: [R] biplot

2007-11-20 Thread S Ellison
Also check the asp= parameter in plot.default and plot.window; this sets the aspect ratio so that 1 unit in x is the same physicla length as 1 unit in y. I don;t know whether it is respeced by your particular biplot, though. >>> Bernardo Rangel Tura <[EMAIL PROTECTED]> 20/11/2007 10:51:12 >>> On

Re: [R] biplot

2007-11-20 Thread Bernardo Rangel Tura
On Mon, 2007-11-19 at 13:51 -0500, Weiwei Shi wrote: > Hi, > > I am wondering how to draw biplot with the same scales on both plots? > For example, if the two plots have much different scales, generally > the two x-y's are scaled so that the two plots are sitting in the > center automatically. Ho