Displaying 20 results from an estimated 800 matches similar to: "How can I "declutter"/make a biplot less messy in R"
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"
2005 Jun 03
1
Reading biplot function's source code
Hi everybody,
Excuse me for this silly question, but after searching the
help archives I'm still unable to find my way to read the
source code of the "biplot" function in R.
I have installed the mvbutils package, and tried:
> fixr(biplot)
which only gives me:
function (x, ...)
UseMethod("biplot")
with no further details....
I'd like to read the code to see if
2007 May 13
2
Biplot
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: nicht verf?gbar
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20070513/6557c355/attachment.pl
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",
2006 Jul 31
1
How does biplot.princomp scale its axes?
I'm attempting to modify how biplot draws its red vectors (among other
things). This is how I've started:
Biplot <- function(xx, comps = c(1, 2), cex = c(.6, .4))
{
## Purpose: Makes a biplot with princomp() object to not show arrows
## ----------------------------------------------------------------------
## Arguments: xx is an object made using princomp()
##
2011 Mar 09
1
biplot breakdown help
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.model$x = the observations ploted in the biplot
prcomp.model$rotation = the variables that form the
2007 Nov 19
2
biplot
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 Scientist
GeneGO, Inc.
"Did you always know?"
"No, I did not. But I believed..."
2013 Feb 11
1
Clean up biplot resulting from princomp()
Dear R-helpers,
The vectors in my biplot are completely obscured by the ~1400 labels R is
printing on my biplot. I don't really care about the labels. How can I make
the biplot without the annoying labels?
See attached, if that helps you see my problem.
Many thanks,
Mark Na
2003 Apr 04
2
biplot
Dear list,
I want to perform a biplot, using customized titels for the x and y axis.
Setting xlab="" and ylab="" resulted in an error, e.g.:
> data(USArrests)
> biplot(princomp(USArrests),xlab="",ylab="")
Error in biplot.default(t(t(scores[, choices])/lam), t(t(x$loadings[, :
length of dimnames[1] not equal to array extent
>
How do I
2004 Sep 30
3
biplot.princomp with loadings only
Hi
is there a way to plot only the loadings in a biplot (with the nice
arrows), and to skip the scores?
thanks
christoph
2005 May 09
1
units of a biplot
Hello everybody,
I am afraid this might be a stupid question, but after scanning a little
bit through the help archive and the internet, I didn't come up with an
answer myself.
I have done a principle component analysis on a data set, which yields
the mean response of 14 olfactory neurons to 16 different odors. When
plotting the result in a biplot, it nicely shows me the odors in
2006 Sep 06
2
biplot label size
Which is the parameter that is used to decrease the size of ylabs
plotted in biplot? I tried playing with cex and cex.lab I am not getting
it right
pc <- princomp(USArrests)
biplot(pc, xlabs = rep("", nrow(USArrests)),ylabs=(colnames(USArrests)))
Thanks../Murli
[[alternative HTML version deleted]]
2002 Apr 30
1
ylim in biplot does not seem to work (PR#1498)
Full_Name: Hinrich Göhlmann
Version: 1.4.1
OS: Windows 2000
Submission from: (NULL) (148.177.130.121)
Hi all,
I've searched the known bugs and hopefully I did not oversee this one...
When I have done a normal
zz<-princomp(na.omit(raw.data))
and I then draw a biplot with
biplot(zz,cex=c(.1,.7),col=c(5,1),choice=c(1,2),xlim=c(-2,2),ylim=c(-5,2))
the x axis gets set properly, but the y
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
2009 Sep 02
4
"biplot" graphical options?
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 browsing manuals and vignettes without finding any explicit suggestions on how to operate...
Can
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:
2010 Oct 20
1
Biplot: plot group name instead of row number
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 this:
plot(PCA$x[,1], PCA$x[,2], type="n")
text(PCA$x[,1], PCA$x[,2], labels=iris[,5],
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
2002 Sep 09
1
Re: Biplot function of PCA
[was sent a wrong R-help address; manually resent by MM]
Hello
I'am using the 'biplot' and 'biplot.pincomp' functions of the 'mva'
package for my studies.
The biplot represents both the observations and the variables of a
matrix of multivariate data on the same plot.
The observations are represented by their numbers (the line of the data
matrix), but I would need to
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