similar to: Importing many files from a single code

Displaying 20 results from an estimated 600 matches similar to: "Importing many files from a single code"

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 Dec 06
2
Barplot label
Dear all, I am trying to make barplot from matrix with "beside=FALSE". I have 165 labels in my bar plot. When i plot the label horizontally below the barplot, then all labels are not appear in the plot due to lack of space. I used the following function: barplot(t(bar), main="Barplot based on LCMS", ylab="RF membership Probability",   
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")
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.
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]]
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
2009 Nov 27
2
matching and extracting data
Dear all, I have querry on how to extract the data by matching between two data set where one has the same elements multiple times?   For example, I have two matrix X and Y. > X    [,1]    [,2]       [,3] 1  A     5          P 2  B      6         P 3  C     7         P 4  D     5         Q 5  E      6         Q 6  F      7         Q 7  G     5          R 8  H     6          R 9  I       7
2006 Nov 20
4
how to use the switch statement
Good morning, I am trying to recode the values of a column in a data frame and, instead of using a long series of if/else statements I would like to use a switch (as it is, for instance, in the C programming language). I have a column of this type: AT BB B1 B1 CC CC T6 B1 CC BB TT AT AT AT TT BB ... and I need to change this coding (if it's AT then it should be A1, if it's BB then
2007 Sep 28
1
RMySQL installing problems
Dear forum, I'm trying to install RMySQL but I'm having problems in loading it, here is the message that I'm getting in R install.packages("RMySQL", dependencies=TRUE) trying URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.5/RMySQL_0.6-0.zip' Content type 'application/zip' length 391364 bytes opened URL downloaded 382Kb package 'RMySQL'
2011 Dec 02
1
Error in Genetic Matching
Dear R Users, I am a novice learner of R software. I am working with Genetic Matching - GenMatch(), but I am getting an Error message as follows:  Error in GenMatch(Tr = Tr, X = X.binarynp, BalanceMatrix = BalanceMatrix.binarynp,  :    GenMatch(): input includes NAs Could you please suggest me correcting the above problem? My GenMatch command is, > gen1 <- GenMatch(Tr = Tr, X =
2008 Oct 01
1
Error: cannot allocate vector of size 117.3 Mb
Dear R users,   I am using RandomForest package. While using this package, i got "Error: cannot allocate vector of size 117.3 Mb" .........................message. I had this problem earlier too but could not manage. Is there any way to solve this problem or to increase vector size ? My data set is of 163 samples and 5546 variables. I tried through "? Memory" function to solve
2008 Sep 28
1
how to make subset of large data
I have very large data set. I want to make subset of data based on the matching. For example,   > x [1] "a" "b" "c" "f" > yy                                                                     "a" "-0.761988113636315" "-0.117672628171555" "-0.885641151614679" "b" "-1.13288279283289" 
2011 Aug 12
1
problem in asreml function in wgaim package
Dear R users,   I am trying to use "wgaim" package for QTL analysis using mixed model approach. But i am stuck with "asreml" function while using "wgaim" package. Do i need a separate package to activate "asreml" function beside "wgaim" package ?   If so, i tried to download "Asreml-R" package (i guess this is right package