search for: r_work

Displaying 4 results from an estimated 4 matches for "r_work".

Did you mean: rx_work
2009 Aug 02
2
Strange column shifting with read.table
Hi, I am reading in a dataframe from a CSV file. It has 70 columns. I do not have any kind of unique "row id". rawdata <- read.table("r_work/train_data.csv", header=T, sep=",", na.strings=0) When training an svm, I keep getting an error So, as an experiment, I wrote the data back out to a new file so that I could see what the svm function sees. write.table(rawdata, file="r_work/output_data.csv", quote=FALSE...
1997 May 08
1
R-beta: Two simple suggestions.
...log into different cputypes, and they end up being quite confused. To solve this problem in S I set up an S_WORK environment variable that set the name of the .Data area, via the front end shell script. For example, on the HP I use .Data.hp. I would like to see the same facility in R. if R_WORK is missing, then use the standard name. If R_WORK exists, then use that name as the file to save the R session in. (Maybe S_WORK exists in Splus only to please me, but it is useful :-). 2) Again, along the lines of something that S does that is actually useful. In S you can set the S_FIRST...
2012 May 02
2
output Shapiro-Wild results to a table
...26.925 rows of data using the following F1.norm<-apply(F1.n.mat,1,shapiro.test) I would now like to view and export a table of the p and W values from the Shapiro test, but I am not sure how to approach this. I have tried the following with errors. > write.table(x=F1.norm,file="I:/R_Work/F1/Shapiro.csv", sep=",") Error in as.data.frame.default(x[[i]], optional = TRUE, stringsAsFactors = stringsAsFactors) : cannot coerce class '"htest"' into a data.frame Any suggestions appreciated. Mary AnnĀ  F1 F1 [[alternative HTML version deleted]]
2010 Oct 06
4
problem with abline
Hi All, I am running a scatter plot and trying to add a best fit line. I use an abline function, but get no line drawn over the points. I also get no error. I arm using V 2.10.0 on Windows 7. Here is my code, including the SAS transport file import: require (foreign) require (chron) require (Hmisc) require (lattice) clin <- sasxport.get("y:\\temp\\subset.xpt") attach(clin)