我有90个矩阵,我正试图获得一个阵列的对应矩阵。 利用以下指挥:
pdf( corr.pdf )
data <- read.table("test", header=T)
z <- cor(data)
levelplot(z)
dev.off()
我有这样的形象,我的标签正在获得如下文udge:
请就改善形象提出建议。
谢谢。
我有90个矩阵,我正试图获得一个阵列的对应矩阵。 利用以下指挥:
pdf( corr.pdf )
data <- read.table("test", header=T)
z <- cor(data)
levelplot(z)
dev.off()
我有这样的形象,我的标签正在获得如下文udge:
请就改善形象提出建议。
谢谢。
并且:
pdf( corr.pdf )
data <- read.table("test", header=T)
z <- cor(data)
heatmap.2(z, Rowv=FALSE, Colv=FALSE, dendrogram="none",
key=TRUE, density.info="none", trace="none",
col=colorpanel(100, lowColor, highColor), scale="none",cexRow=0.3, cexCol=0.3 )
dev.off()
www.un.org/spanish/ga/president 参看http://stat.ethz.ch/R-manual/R-devel/library/lattice/html/levelplot.html>rel=“noreferer”>levelplot Manual, 并修改<条码>s=list(log=“e”)的论点,以<条码>s=list(log=”e,x=list(cex=.3),y=list(cex=.3))/code>:
x <- seq(pi/4, 5 * pi, length.out = 100)
y <- seq(pi/4, 5 * pi, length.out = 100)
r <- as.vector(sqrt(outer(x^2, y^2, "+")))
grid <- expand.grid(x=x, y=y)
grid$z <- cos(r^2) * exp(-r/(pi^3))
levelplot(z~x*y, grid, cuts = 50,
scales=list(log="e",x=list(cex=.3),y=list(cex=.3)), xlab=list(cex=.05),
ylab=list(cex=.25), main=list(label="Weird Function", cex=5), sub="with log scales",
colorkey = FALSE, region = TRUE)
这将减少轴标大小,其系数为3。
你可以纠正这种情况。
pdf( corr.pdf , width=100, height=100)
data <- read.table("test", header=T)
z <- cor(data)
levelplot(z)
dev.off()
This is a really really simple question to which I seem to be entirely unable to get a solution. I would like to do a scatter plot of an observed time series in R, and over this I want to plot the ...
since the latest Ubuntu release (karmic koala), I noticed that the internal R package advertises on start-up the REvolution package. It seems to be a library collection for high-performance matrix ...
I am trying to run an analysis by invoking R through the command line as follows: R --no-save < SampleProgram.R > SampleProgram.opt For example, consider the simple R program below: mydata =...
I m trying to generate GOFrame objects to generate a gene ontology mapping in R for unsupported organisms (see http://www.bioconductor.org/packages/release/bioc/vignettes/GOstats/inst/doc/...
I have a dataframe df.all and I m plotting it in a bar plot with ggplot2 using the code below. I d like to make it so that the order of the dodged bars is flipped. That is, so that the bars labeled "...
I m getting a weird error when training a glmnet regression. invalid class "dgCMatrix" object: length(Dimnames[[2]]) must match Dim[2] It only happens occasionally, and perhaps only under larger ...
Sorry for the non-descriptive title but I don t know whether there s a word for what I m trying to achieve. Let s assume that I have a list of names of different classes like c( 1 , 2 , 3 , 4 ) ...
I m plotting a group of curves, using facet in ggplot2. I d like to have a smoother applied to plots where there are enough points to smooth, but not on plots with very few points. In particular I d ...