search for: cleandataset

Displaying 1 result from an estimated 1 matches for "cleandataset".

Did you mean: cleandatasets
2012 Sep 25
2
extract all data frames from a list & remove NAs
hi, steps taken : files<-lapply(list.files(),read.csv,header=T) numberOfFiles<-length(list.files()) good<-lapply(files,complete.cases) cleanDataSets<-list() for (i in 1:numberOfFiles){ cleanDataSets[i]=files[[i]][good[[i]],] } with this loop for some reason i get only the first column from each data frame from the list if want to retrieve the only one data frame from the list i can do like this: files<-lapply(list.files(),read...