Displaying 20 results from an estimated 2000 matches similar to: "biplot label size"
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 Nov 04
2
biplot drawing conc ellipses
Is there an option to draw concentration ellipses in biplots ? It seems
really nice to summarize large number of points of each group.
Cheers../ Murli
2007 Oct 04
5
combining vectors on unequal length
If I have two vectors
X<-1:10
Y<-1:5
When I combine them using cbind, the shorter one is repeated and both are made of the same length. Is there a methods that does this without duplicating the shorter one. I want to use this to store the data back to a file.
Thanks ../Murli
[[alternative HTML version deleted]]
2007 Aug 07
5
small sample techniques
If my sample size is small is there a particular switch option that I need to use with t.test so that it calculates the t ratio correctly?
Here is a dummy example?
á =0.05
Mean pain reduction for A =27; B =31 and SD are SDA=9 SDB=12
drgA.p<-rnorm(5,27,9);
drgB.p<-rnorm(5,31,12)
t.test(drgA.p,drgB.p) # what do I need to give as additional parameter here?
I can do it manually but
2009 Jul 14
4
Trig functions strange results
I am trying to calculate coordinate transformations and in the process of debugging my code using debug I found the following
Browse[1]> direction[i]
[1] -1.570796
Browse[1]> cos(direction[i])
[1] 6.123032e-17
Browse[1]> cos(-1.570796)
[1] 3.267949e-07
Browse[1]> direction[i]
[1] -1.570796
Browse[1]> cos(direction[i])
[1] 6.123032e-17
Browse[1]> cos(-1.570796)
[1] 3.267949e-07
2007 Jul 27
2
manipulating arrays
Can I insert an element in an array at a particular position without
destroying the already existing element?
X<-c(1,2,3,4,5)
I want to insert an element between 1 and 2.
Thanks ../Murli
[[alternative HTML version deleted]]
2009 Jul 24
2
computing the radius of an arc
Hi!!
I am interesting in computing the radius of an arc that best approximates a curve. Is there an R function that I can use to draw an arc?
Nothing useful came up when I searched help.search. Does anyone have any suggestion to do this?
Thanks ../Murli
2009 May 29
2
strsplit
I am trying split a string and use one part of it to label graphs. I am using strsplit for that. While I am able to split it, how do I access the separated parts.
> filName<-"chrI_2223"
>part<- strsplit(filName,"\\_")
> part
[[1]]
[1] "chrI" "2223"
> part[1]
[[1]]
[1] "chrI" "2223"
I looked up the help archive but did
2007 Jun 26
3
inter-rater agreement index kappa
Is there a function that calculates the inter-rater agreement index
(kappa) in R?
Thanks ../Murli
[[alternative HTML version deleted]]
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()
##
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
2007 Mar 18
1
multcomp
I used the multcomp package sometime back for doing multiple
comparisons. I see that it has been updated and the methods like simint
are no longer supported. When I run the program it prompts to me to use
glht. How do I get the lower and upper conf int and the pValues using
glht? Does anyone have an example?
Thanks ../Murli
[[alternative HTML version deleted]]
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 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
2006 Sep 01
3
histograms
I am interested in plotting histograms for the following data
Isoform
Tumor_65_198
Tumor_50_192
Tumor_80_167
Tumor_80_204
Tumor_95_197
Tumor_70_189
Tumor_90_202
Tumor_40_177
Tumor_60_21
Tumor_70_174
Tumor_70_147
Tumor_50_5
ABCC4-2007
1
1
1
6
1
9
10
1
2
0
10
1
ABCC4-2008
5
8
7
5
3
10
5
5
7
3
10
3
ABCC4-2009
0
0
0
0
0
0
0
0
0
0
0
0
ABCC4-2010
2006 Jul 22
3
Multcomp
Here it is again, hope this is more clear
I am using the following data (only a small subset is given):
Habitat Fungus.yield
Birch 20.83829053
Birch 22.9718181
Birch 22.28216829
Birch 24.23136797
Birch 22.32147961
Birch 20.30783598
Oak 27.24047258
Oak 29.7730014
Oak 30.12608508
Oak 25.76088669
Oak 30.14750974
Hornbeam 17.05307949
Hornbeam 15.32805111
Hornbeam 18.26920177
Hornbeam 21.30987049
2008 Jun 25
1
stringdot
Hi!!
I am trying to figure out how to use the string kernel "stringdot" in kernlab.
k <- function(x,y) {
(sum(x*y) +1)*exp(-0.001*sum((x-y)^2))
}
class(k) <- "kernel"
data(promotergene)
## train svm using custom kernel
gene.k <- ksvm(Class~.,data=promotergene,kernel=k,C=10,cross=5) # works fine in this case
gene.rbf <-
2009 Dec 23
1
prcomp : plotting only explanatory axis arrows
Dear all,
I have a very large dataset (1712351 , 20) and would like
to plot only the arrows that represent the
contribution of each variables.
On the sample below I woild like to plot
only the explanatory variables (Murder, Assault..)
and not the sites.
prcomp(USArrests) # inappropriate
prcomp(USArrests, scale = TRUE)
prcomp(~ Murder + Assault + Rape, data = USArrests, scale = TRUE)
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",
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