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
50), ylabs=rep("", 10)) - David L Carlson Department of Anthropology Texas A&M University College Station, TX 77840-4352 -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Shane Carey Sent: Wednesday, June 22, 2016 7:39 AM To: r-help@r-project

[R] biplot

2016-06-22 Thread Shane Carey
Hey, Does anyone know how to remove labels from a biplot? I want to input them manually as they are currently overlapping. Thanks -- Le gach dea ghui, Shane [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSU

[R] Biplot interpretation

2014-06-24 Thread javad bayat
Dear all; I did biplot in R. How can I interpret them in order that i can create two or more groups in each biplot. I wanna determine the variables that have the same origin. please help me. many thanks. -- Best Regards Javad Bayat M.Sc. Environment Engineering Shahid Beheshti (National)

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

[R] biplot for principal componens analysis

2013-04-29 Thread capricy gao
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) Thanks a lot:)) -data

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

2012-06-19 Thread David L Carlson
4352 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of derek.scha...@srnl.doe.gov > Sent: Monday, June 18, 2012 12:27 PM > To: r-help@r-project.org > Subject: [R] Biplot - how can I make it more readable? >

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

2012-06-18 Thread Derek . Schanze
Hello, I am doing a principle component analysis on a dataset with a lot of different variables and have constructed a biplot of the data. Unfortunately, as can be seen on the attached image, the biplot is very messy, cluttered, and hard to read. I have performed a few modifications including

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

[R] biplot breakdown help

2011-03-09 Thread chris20
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 str(prcomp.model) that... prcomp.mode

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

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

2010-10-20 Thread Alejo C.S.
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 plot iris[,5], which is a factor. I can do thi

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

[R] Biplot for PCA using labdsv package

2010-04-02 Thread Dilys Vela
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 empty; the part of the args list of 'dim' bei

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

[R] biplot from stats: 0.8 ?

2010-01-27 Thread Martin Ivanov
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 the variables are multiplied by a coefficient of 0.8 before plotting: ... if (var.axes) arrows(0, 0, y[, 1L] * 0.8, y[, 2L] * 0.8,

[R] R: "biplot" graphical options?

2009-09-03 Thread Manca Marco (PATH)
* Da: andris.jankev...@gmail.com [andris.jankev...@gmail.com] per conto di Andris Jankevics [an...@osi.lv] Inviato: mercoledì 2 settembre 2009 14.31 A: Manca Marco (PATH) Cc: r-help@r-project.org Oggetto: Re: [R] "biplot" graphical op

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
ect.org > [mailto:r-help-boun...@r-project.org] On Behalf Of Manca Marco (PATH) > Sent: Mittwoch, 2. September 2009 13:02 > To: r-help@r-project.org > Subject: [R] "biplot" graphical options? > Importance: High > > > Dear R-help fellows > > good afternoo

[R] "biplot" graphical options?

2009-09-02 Thread Manca Marco (PATH)
Dear R-help fellows good afternoon. 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 I have been

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

[R] Biplot connecting consecutive dates (ggplot?)

2008-10-09 Thread stephen sefick
I would like to connect the dots based on when they occur in time. Is there an easy way to do this? thanks f <- (structure(list(date = structure(c(1L, 2L, 3L, 10L, 11L, 12L, 13L, 14L, 15L, 16L, 17L, 18L, 19L, 4L, 5L, 6L, 7L, 8L, 9L, 2L, 3L, 10L, 13L, 14L, 15L, 16L, 17L, 18L, 19L, 4L, 5L, 6L, 7L,

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

[R] biplot

2007-11-19 Thread Weiwei Shi
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. How to disable this? Thanks -- Weiwei Shi, Ph.D Research Scienti