similar to: Biplot: plot group name instead of row number

Displaying 20 results from an estimated 8000 matches similar to: "Biplot: plot group name instead of row number"

2007 Jun 05
2
biplot package
Dears, I've been learning biplot (Gabriel, 1971) and I found the function 'biplot', inside of the package 'stats', useful but, a bit limited. So, I'm thinking to start a colaborative package to enhance this methods to other multivariate methods. In this way, I would like to start it, making public a new function (biplot.pca, still in development, but running) that make
2010 Apr 27
1
Symbols in biplot
Hello all, I just started in on R today. I am at the point where I am trying to distinguish different groups of data (hydrochemical data) in biplot. I search and found a post about converting the sample number in biplot to a symbol like x or + "> temp <- matrix(runif(50), nrow=10) > temp.pca <- princomp(temp) > biplot(temp.pca, xlabs=c("A", "A",
2009 May 04
1
how to display case names in biplot.prcomp?
hey, im trying hard to display names (given in a seperate variable) instead of "case numbers" in a pca plot (by biplot of a prcomp output). somebody could help me with this? lukas
2010 Jan 25
1
PCA: Showing file datalabels on biplot
The script below successfully produces a biplot of the data but the 'site names' (rows) and the names of the 'response variables' (columns) are shown as simple numerals (rather than the column and row names). How might I 'enforce' the use of the row/column names used in the datafile (section of datafile shown below)? Can anyone help, please? Section of datafile sample a b
2009 Feb 12
1
Different labels for subsets of points in a PCA or RDA biplot
I've tried a few things both with prcomp(), and rda() and its friends in vegan (including biplot.rda and ordiplot), but can't find a solution. I'd like to associate subsets of the points in a resulting biplot ("sites" in the rda object) with different plotting colors/text styles to emphasize certain sets of points. I can't figure out how to keep the arrows (for
2009 Feb 24
1
biplot.princomp - changing score labels
Dear R helpers, When producing a PCA biplot, vectors of environmental variables (as red arrows with labels) and scores of the observations (black labels (observation names)) are plotted by default. How can I change the graphical output? Let's say I would like that the scores are plottet only as symbols and not text. The only solution I found was this post in the help archive
2010 Apr 02
2
Biplot for PCA using labdsv package
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' being evaluated was: (x)* could please someone tell me what this means? what i am doing
2011 May 13
2
biplots for PCA
Hi all I have produced a biplot for a PCA (see attached pdf) that I ran however the names of the variables which are placed at the end of the arrows overlap and are thus unreadable. Similarly some of the numbered points overlap. I was wondering if there was a way to edit the biplot to move the label names and if not what the best alternative is. Thanks Anna pca<-biodata[,3:10]
2006 Apr 20
2
PCA biplot question
Hi everyone, I'd like to project two pcas onto one device window. I plot my first PCA: biplot(prcomp(t(cerebdevmat)), var.axes=FALSE, cex=c(1,.1), pc.biplot=TRUE) Now I'd like to project the features of another PCA onto this graph. Any suggestions? I know this is easily done in MatLab but haven't figured it out in R. Thanks, Tanya [[alternative HTML version deleted]]
2008 Jun 17
4
PCA analysis
Hi, I have a problem with making PCA plots that are readable. I would like to set different sympols instead of the numbers of my samples or their names, that I get plotted (xlabs). How is this possible? With points, i donĀ“t seem to get the right data plotted onto the PCA plot, as I do not quite understand from where it is taken. I dont know how to plot the correct columns of the prcomp
2011 Aug 09
2
reflecting a PCA biplot
Hi Listers, I am trying to reflect a PCA biplot in the x-axis (i.e. PC1) but am not having much success. In theory I believe all I need to do is multiply the site and species scores for the PC1 by -1, which would effectively flip the biplot. I am creating a blank plot using the plot command and accessing the results from a call to rda. I then use the calls to scores to obtain separate site and
2012 Apr 20
1
Quick question about princomp/biplot
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:
2012 Apr 24
2
How do i read the source code of "biplot"?
> biplot standardGeneric for "biplot" defined from package "stats" function (x, ...) standardGeneric("biplot") <environment: 0x0d4444d8> Methods may be defined for arguments: x Use showMethods("biplot") for currently available ones. > > > showMethods("biplot") Function: biplot (package stats) x="ANY"
2011 Jun 14
1
Change Data Point Label in biplot()
I'm a new user of R, and trying to display the result of a PCA data set with biplot(). Biplot() draws the projections of data points to the first two principal axis with a text level (I guess it is the name of the data points). This makes the picture very crowed. I tried to go through R documentation to figure out how to change the data point labels to a symbol, say circle, triangle or cross
2012 May 07
3
How to plot PCA output?
I have a decent sized matrix (36 x 11,000) that I have preformed a PCA on with prcomp(), but due to the large number of variables I can't plot the result with biplot(). How else can I plot the PCA output? I tried posting this before, but got no responses so I'm trying again. Surely this is a common problem, but I can't find a solution with google? The University of Dundee is a
2008 Jan 18
2
plotting other axes for PCA
Hi R-community, I am doing a PCA and I need plots for different combinations of axes (e.g., PC1 vs PC3, and PC2 vs PC3) with the arrows indicating the loadings of each variables. What I need is exactly what I get using biplot (pca.object) but for other axes. I have plotted PC2 and 3 using the scores of the cases, but I don't get the arrows proportional to the loadings of each variables on
2006 Dec 18
1
Replacing labels with symbols in biplot
Dear all I would like to replace labels for x in biplot() with symbols (points) that will visually illustrate different classes/groups. After an unsuccessful search through the documents and archives, I turn to the list for help - any suggestions that can point me in the right direction? Thanks Mat Vanderklift
2012 Apr 25
1
pca biplot.princomp has a bug?
x=rmvnorm(2000, rep(0, 6), diag(c(5, rep(1,5)))) x=scale(x, center=T, scale=F) pc <- princomp(x) biplot(pc) There are a bunch of red arrows plotted, what do they mean? I knew that the first arrow labelled with "Var1" should be pointing the most varying direction of the data-set (if we think them as 2000 data points, each being a vector of size 6). I also read from
2012 Jun 18
2
How can I "declutter"/make a biplot less messy in R
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 outlier removal from a few of the variables, which has made the plot better, however it still is too cluttered
2004 Jul 22
1
biplot & identify
Hi! Is there a way to get biplot and identify to work togheter. Having the output of prcomp I would like to draw a biplot that. Instead of plotting the sample (row-names) names plots some "pch" symbols. (thats easy with xlabs) But now I would like to add using identify the names to only some of the points. I have noticed that both biplot.prcomp and biplot.default does a lot of