# NOT RUN {
data(eco3)
eco3
# list of objects
x <- eco.split(eco3, "structure", asList = TRUE)
# rebinding
eco.bind <- eco.rbind(x)
# note that different subsets can also be created
S1.3 <- eco.rbind(x[[1]], x[[3]])
# split and create objects with prefix "eco3"
eco.split(eco3,"structure", asList = FALSE)
# split and create objects with prefix "newObjects"
eco.split(eco3,"structure", "newObjects", asList = FALSE)
# }
# NOT RUN {
# }
Run the code above in your browser using DataCamp Workspace