search for: wangyong1

Displaying 13 results from an estimated 13 matches for "wangyong1".

Did you mean: wangyong
2006 Apr 16
1
How to do varimax rotation for principal component based factor analysis, any packages?
Dear R users the factanal pacakge is always MLE, which package can do varimax rotation with the results from princomp ? thank you yong
2007 Oct 20
1
How to plot with txt or symbol instead of number as x-axis scale ?
Dear R-list My question is exactly as the subject, I did search the archieve but failed to find relevant message, in more details: The simplest example, 4 factors and 4 value like below: 10 20 30 40 A B C D if I plot the value, the x-axis will be scaled as 1,2,3,4 with each represent a level. How can I change the x-axis scale to A,B,C,D ? Regards young
2008 Nov 10
1
problem of unix package installation, following code no response: install.packages("packagename", dependecise=TRUE)
Dear list I am trying installing a package under unix, the command as below works in some case but not some other cases, the primary syndrome is R will stop there with a message: (say I am trying to install the package SASxport) ########################### Warning in install.packages("SASxport", dependencies = TRUE) : argument 'lib' is missing: using
2010 Oct 06
1
what does this err mean and how to solve it? Error in file(file, ifelse(append, "a", "w"))
Dear List I am running a loop downloading ?web pages and save the html to a temporary file (use download.file() ) ?then read (using readLines) ?it in for processing; finally write useful info from each processed page to a unique file the problem is once the loop runs up to somewhere near ?5000, it will throw out an err like below and won't go further.
2010 Aug 30
2
Read in a all-character file and specify field separator and records separator
Dear list I used to use python or awk do preliminary process and then feed into R. In some circumstances, the data transmission becomes quite a pain. I am wondering if there is a convenient way to read in R text file (not data, text file in common sense) and specify field separator and records separator, so the whole work can be reduced to one-stop shopping. or simply, is there one simple way to
2007 May 20
3
Why a multi column, tab delimited file has only one column after reading in with read.table specification sep="\t"
Dear all: I have a tab delimited file as following AGE WEIGHT PROTEIN ........ 6 20 3 ........ 8 39 4 ........ I tried to read it as following: data <- read.table(file,sep="\t",header=T); but there is only column for the data after reading in,: dim(data); [1] 200 1 the column name is "AGE...WEIGHT...........PROTEIN...." Any quick suggestion will be appreciated.
2012 Dec 15
3
How to speed up the for loop by releasing memeory
Dear list; How can I speed up the run of following code (illustrative) #======================================================================== con<-vector("numeric") for (i in 1:limit) { if(matched data for the ith item found) { if(i==1) {con<-RowOfMatchedData } else {con<-rbind(con,matchedData)} } }
2008 Oct 28
1
help on package or code for simutaneous equation probit(logit) model
Dear List I am trying to fit a simutaneous equation logit model. i.e., the response variables of the structured equations are binomial, I am not sure if systemfit can do this job. A google search doesn't yield too much helpful information. Your knowledge on any other packages or codes are appreciated. Thanks will
2011 Apr 29
0
mlogit package, "Error in X[omitlines, ] <- NA : subscript out of bounds"
I am using the mlogit packages and get a data problem, for which I can't find any clue from R archive. code below shows my related code all the way to the error #--------------------------------------------------------------------------- mydata <- data.frame(dependent,x,y,z) mydata$dependent<-as.factor(mydata$dependent) mldata<-mlogit.data(mydata, varying=NULL,
2007 May 21
0
A "subscript out of bonds" and "write.table" problem on manipulating a large size dataset
Dear all: Described below is a large data set problem (data size > 2G after unzipping, table delimited). I know R is not the appropriate tool for such task, anyway I did it on a server and get some straightforward problems. 1. The first is count.fields can count all the rows, however, when I tried to remove rows beyond 3/5 of the data,R says subscripts out of bounds, is there any option
2011 Mar 16
1
read.table() with "\t" as seperator, all other programs report equal fields each row, read.table() returns unequal row length error
hi, list R is undoudtedly my favorite statistic tool, however, the data inputnpart has long been a pain. most data I have to deal with are irregular and contains special character. Recently I get a tab delimited data, read.table(filename,sep="\t") constantly return erors for certain rows does not has xyz elements while all other programs such as perl,python, awk all report equal row
2010 Nov 25
1
file reading problem unique to windows. Err info: Error in file(file, ifelse(append, "a", "w")). cannot open the connection
Dear List I asked this question before, got some tips but can't get it solved. it is clear now that this problem only occurs when run on windows (I tested it on windows XP) nothing wrong at all when run on unix. unfortunately, sometimes I have to run it on windows, I appreciate any suggestion on how to circumvent this problem when run on windows. below is the problem description I submitted
2009 Feb 05
2
UNIX Installation of package "systemfit" fails
Dear list I am trying to install the systemfit package under unix, install.packages(systemfit) the installation failed. I am attaching the error and version information below, (if dependencies=TRUE, much more error) any help appreciated best, yong ===================================================================== > install.packages("systemfit") Warning in