Displaying 20 results from an estimated 5000 matches similar to: "Barplot label"
2009 Jun 15
4
reading Excel file
Dear all,
I was using older version of R (installed early). I install new version of R (R.2.9.0) but i could not find package "xlsReadWrite" to read Excel file. Is there any alternatives to read Excel file ?
I hope it should be.
I need help although it is minor querry.
Thanks in advance.
Sincerely,
Ram Kumar Basnet
Wageningen University,
The Netherlands
[[alternative HTML
2008 Oct 27
3
Problem in installation of "Rgraphviz" package
Dear R users,
I am not so used to this R software. I have to use the package " Rgraphviz" but found some problem in the installation process. I download this package and store in R library but i am not getting this package in R installation list.
I made review in google search net and use the following command:
###
source("http://bioconductor.org/biocLite.R")
2009 Nov 25
4
Importing many files from a single code
Dear R users,
Does somebody know the way to import many files by a single command in R ? I have 50 files in a directory and now, i am importing the files repeatedly (one by one). If there is a way to import all files at a time, it makes much more easy and save times too.
Thanks in advance.
Sincerely,
Ram Kumar Basent
Wageningen University,
the Netherlands
[[alternative HTML
2010 Dec 05
3
merging two vectors
Dear R users,
It may be very simple but it is being difficult for me.
I have two vectors with some common string. And, i want to combine into a vector in such a way that it includes string from both vectors and make a unique.
For example:
x <- paste(rep("A",5),1:5,sep = ".")
x
[1] "A.1" "A.2" "A.3" "A.4" "A.5"
y <-
2008 Sep 02
1
how to increase row number
Hi
I think this may be simple task but creating trouble to me.
In my calculation, i have got large number of rows (5546) and column 182 but i am not able to see all the rows. May be somebody have idea how i can see all the rows ? I will be greatful if any body help me.
Thanks in advance
Sincerely,
Ram Kumar Basnet
Graduate student
Wageningen University
Netherlands
[[alternative
2008 Nov 18
1
Statistical querry on Partial correlation test
Hi R users,
I want to calculate the partial correlation (first or second order) and their corresponding significance test (p-value).
I used
> library(corpcor)
and "cor2pcor" function to calculate partial correlation but could not calculate "p-value".
If some one knows the R package or function to calculate corresponding "p-value", It will be great help.
Thanks
2010 Jan 27
1
selecting significant predictors from ANOVA result
Dear all,
I did ANOVA for many response variables (Var1, Var2, ....Var75000), and i got the result of p-value like below. Now, I want to select those predictors, which have pvalue less than or equal to 0.05 for each response variable. For example, X1, X2, X3, X4, X5 and X6 in case of Var1, and similarly, X1, X2.......X5 in case of Var2, only X1 in case of Var3 and none of the predictors in case
2009 Aug 04
2
error in Elastic net
Dear R users,
I am new user for elastic net. I am trying to use elasticnet library.
I have marker data with 359 markers and 168 samples, and response is metabolites. I am trying to do regression between a metabolite and markers.
But i am getting the following error:
> en<-enet(marker,as.numeric(vio),lambda=0.5,normalize=FALSE,intercept=TRUE)
Error in one %*% x : requires numeric
2011 Nov 16
2
Conversion of symmetry matrix into a vector
Dear R users,
I am not good in R-language programming. So, i need your help.
I want to convert my lower-triangle value of symmetry matrix into a vector with their row and column name.
I found a function called "sm2vec" in "corpcor" package but it give only a vector of values but not row and column names. But i also want ROW and COLUMN name together with their corresponding
2008 Sep 15
1
how to plot PC2 vs PC 3 in PCA
Hi everybody,
I am doing principal component analysis (PCA) using "prcomp' function. When i did "Biplot", i did not found interesting result and it is based on Principal component (PC) 1 vs PC2. Now, i want to see"Biplot" in combination of either PC1 vs PC3 or PC2 vs PC 3. I did not get the ideas.
Does any one have ideas ?
I am optimistic on getting some idea.
2005 Mar 30
5
2d plotting and colours
Hi!
I am new to R just 3 days in it and i apologize if my questions seem very
trivial and consumed your valuable time.
I am coding in perl and i stumbled upon R regarding plotting good
statistical graphs.
I tried the kmean clustering for a large matrix ,say > 150 * 150 . I tried
the example code given in the tutorial to perform 2d plot
# i ranges from 2 to 10
cl <- kmeans(x, i, 20)
2009 Dec 15
1
Type III sum of square in ANOVA
Dear all,
Does some body have idea on how to extract Type III sum of Square from "lm" or "aov" function in R ? I could not figure out it.
If this is minor and irrelevant to post in this mail, I am sorry for that.
Thanks.
Sincerely,
Ram Kumar Basnet
Wageningen University,
Netherlands
[[alternative HTML version deleted]]
2011 Jul 01
1
Reverse legend label order in barplot
Hi list,
I've thus far not found a solution to my problem and hope someone can help.
I have a data matrix and wish to plot a stacked bar plot using barplot().
This is simple enough, but I have a problem with the legend labels being in
the reverse order from what I want. The default appears to have labels
ascending bottom-to-top reflecting bottom-to-top sub-bars, but I would like
the
2007 Jan 17
2
label option in 'barplot'?
Hello all,
When using the 'barplot' function, how would one go about creating
labels on the top of the bars corresponding to the actual frequency
values (i.e., the height of the bar). For histograms, one can use
the 'LABEL=T' parameter to this effect, but it is not available for
barplot. Must one manually create such labels for a barplot (perhaps
using mtext)?
Thanks.
2010 Apr 07
2
label the bars by the percentage values in the conditional histogram?
HI, Dear R-community:
I have the following codes to plot the conditional histogram, is a way to
label the bars by the percentage values in the conditional histogram?
h<- sample(1:14, 319, rep=T)
c<- sample(1:14, 608, rep=T)
n<- sample(1:14, 1140, rep=T)
vt<-c(h, c, n)
ta<-rep(c("h", "c", "n"), c(319, 608, 1140))
to<-data.frame(vt,ta)
2003 Nov 28
5
[OT] Good Gigabit Ethernet Card ...
Greetings ...
I hate to ask these questions, but I dought I will get a straight
answer from an Salesmen ...
I am looking at putting gigabit in as a back bone for a few Linux
servers, but I have used an Accton Gigabit ethernet card with RedHat
8.0/9 and found it a little unstable ... do and RedHat users have a
suggestion on a good, but not expensive Gigabit card, basicly for a
Samba
2010 Dec 19
2
barplot: width of label
Hello,
I try to make barplots with rather wide labels. A simplified example of
this:
x <- c(12, 33, 56, 67, 15, 66)
names(x) <- c('Richard with a long surname','Minnie with a long
name,'Albert','Helen','Joe','Kingston')
barplot(x, las = 2)
Now the label 'Richard with a long surname' is too long to fit beneath the
bars. A simple solution
2011 Jan 09
1
Getting total bar's label & value labels in a barplot
Hi,
I have been trying to get the label under the total column - i.e. a mean value of columns 2 to 6 - in a barplot I generate with this script:
t1 <- tapply(A, B, sum)
t1[8] <- mean(t1[2:6])
t1 <- as.table(t1)
barplot(t1, ylim=c(0,3000))
mtext("Var1", side = 1, line = 3)
mtext("Var2", side = 2, line = 3)
I have been trying to use
axis(1, at=1:8,
2013 Apr 19
5
how to subtotal by rows
Dear R-users,
I have a dataset as like below, and I want to subtotal the values of rice,wheat and maize by year for each fid.
fid year rice wheat maize
------------------------------------------------
1 1995 5 NA NA
1 1995 NA 3 NA
1 1995 NA NA 2
1 1996 4 NA NA
1
2008 Sep 05
2
Error: can not allocate vector of 117.3 Mb
Hi R users,
I am doing multiscale bootstrapping for clustering through pvclust package. I have large data set (observations 182 and variables 5546). When i tried to make bootstrapping, then i got message as "Bootstrap (r = 0.5)............Error: cannot allocate vector of size 117.3 Mb".
I am new R user and could not understand what is the problem and also don't know the easiet