search for: zilefacelvi

Displaying 2 results from an estimated 2 matches for "zilefacelvi".

Did you mean: zilefacelvis
2013 Apr 27
11
Help
Hello, I have a question and need your help urgently. I am new to R but want to learn it. I have several files in a folder which I have imported to R using : temp = list.files(pattern="*.txt") >myfiles = lapply(temp, read.delim) The resulting files are on the workspace stored as List[110]. So they are 110 files in the list. Each file has several different columns and rows. My
2013 Nov 17
1
melt dataframe
...dat2M1 <- dat2M[with(dat2M,order(year,month,day,variable)),] ?dim(dat2M1) #[1] 1972320?????? 5 ?row.names(dat2M1) <- 1:nrow(dat2M1) ?colnames(dat2M1)[4:5] <- c("site","rain") 16436*120 #[1] 1972320 A.K. On Saturday, November 16, 2013 11:28 PM, Zilefac Elvis <zilefacelvis at yahoo.com> wrote: Hello AK, I would like to melt the attached dataframe (precipitationRglimclim.csv) into a format as in sampleRglimclim.csv. I tried doing it using the reshape2 package but did not succeed. Explanation: The daily data is for 120 sites (G1...G120). For each year, there are...