search for: x_data

Displaying 5 results from an estimated 5 matches for "x_data".

Did you mean: i_data
2010 Mar 12
7
sqldf not joining all the fields
Dear R users, I have two data frames that were read from text files as follows: x_data <- read.table("x.txt", header = TRUE, sep = "|", quote = "\"'", dec = ".",as.is = TRUE,na.strings = "NA",colClasses = NA, nrows = 3864284, skip = 0, check.names = TRUE,fill=TRUE, strip.whit...
2008 Jul 03
1
Exporting a Graph that has lines()
...o export one that uses plot() then lines(). however, it seems that the jpeg format and the pdf format only takes the first line plot, and doesn't even consider the additional plots. My code is the following: output_file<-paste(filez,".pdf",sep="") pdf(output_file) plot((x_data) ~ (y_data), main = filez) lines (x,z,col="red") dev.off() The pdf only comes out with the graph of the plot, and not of the lines. Does anyone know how to export multiple graph items on one plot? Thanks! -- View this message in context: http://www.nabble.com/Exporting-a-Graph-that-has...
2012 Jul 19
2
change file name from file0.1_data.RData to file1_data.Rdata
Dear All, I want to change file names. I have file0.1_data.RData (I have several files whose names are file0.x_data.Rdata) I want to rename it to file1_data.RData How can I do it? Thank you for saving my time! [[alternative HTML version deleted]]
2000 Feb 08
1
fix() changes character to factor (PR#415)
If x is a data.frame containing a column of mode character, this column is changed to a factor after applying fix(x). Example: R> x_data.frame(a=1:3,b=letters[1:3],c=c("hansi","pepi","karli")) R> x$c_as.character(x$c) R> is.character(x$c) [1] TRUE R> is.factor(x$c) [1] FALSE R> fix(x) ## I change "karli" to "sepp" R> x$c [1] hansi pepi sepp Levels: hansi pepi sepp...
2009 May 01
0
need help - small code
...<- ncol(dt)   for (i in 1:n)   {  trans[i] <- transform(dt[,i],newdt=pgamma(dt[,i],shape= a[1,i],scale=b[1,i])) }   trans }   > trans_dt(dp1,ahall,bhall) Error in pgamma(dt[, i], shape = a[1, i], scale = b[1, i]) :   object "i" not found   Here are the output that I want:      X_data      newdt 1    49.7 0.68457469 2    21.8 0.41338124 3     5.6 0.14140426 4    24.2 0.44446935 5     0.8 0.02570607 6    32.0 0.53374025 7    88.9 0.86499757 …   Thank you so much for any help given. [[alternative HTML version deleted]]