Displaying 1 result from an estimated 1 matches for "subsetnam".
Did you mean:
subsetname
2012 May 16
1
Merging multiple data sets
...=c(50,50,50,50,50))
for(i in 1:5){
name <- paste('x',i,sep='')
name1 <- paste(name,"rda",sep='.')
save(name, file = name1)
}
I want merge this data sets into one data set but I don?t know where I am
going wrong?
Please help me. Thanks for your help.
subsetname <- "x1"
file_no <- 4
output_data_prod <- data.frame()
for(n in 1:file_no){
myfile <- gsub("( )", "", paste(subsetname , "_", n,".rda"))
temp_data <- load(file = myfile)
data_22 <- get(temp_data)
if(dim(output...