search for: q181

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

Did you mean: 181
2011 Aug 25
3
Creating new dataset based on variable name
I am trying to import several different SAS transport files into R. I know how to get the files into R as data frames, however, I don't want to do this one at a time for all ~60 data sets. I also want to convert the name from file name to something I can understand (e.g., from q181 to doctor.visits.2008). I created a vector with the new names what I was was hoping to do was something like for (i in 1:NROW(vector.with.names){ paste(vector.with.names[i], sep = "") <- read.xport('file_path', xport_file_name, sep = "") } Each part will paste w...