Hello,
The best way of doing what you want is to save the subsets in a list.
subsets.list <- vector("list", 10)
for(i in 1:10)
subsets.list[[i]] <- subset(...etc...)
names(subsets.list) <- names
You can also assign names using assign().
for(i in 1:10){
sb <- subset(...etc...)
ass
Hello everbody,
I want to generate different subsets of my data-set and safe this
subsets with names listet in a vector. Because in reality I have got
about 70 subsets I want to realize this in a loop
Somehow like this:
names=c("nam1",
"nam2","nam3","nam4","nam5","nam6","nam7","nam8","nam9",
Hello everbody,
I want to generate different subsets of my data-set and safe this
subsets with names listet in a vector. Because in reality I have got
about 70 subsets I want to realize this in a loop
Somehow like this:
names=c("nam1",
"nam2","nam3","nam4","nam5","nam6","nam7","nam8","nam9",
3 matches
Mail list logo