Displaying 1 result from an estimated 1 matches for "vector2or".
Did you mean:
vector2
2011 Apr 04
5
Creating multiple vector/list names-novice
...different vectors. In some other language I can just place a
third dimension to separate list (or matrix) but i do not know how to do it
in R.
My issue is simple I use
cc<-combn(colnames(DD),2)
I would need to have this as
vector1 or like vector[,,1] : cc<-combn(colnames(DD),2)
vector2or like vector[,,2] cc<-combn(colnames(DD),3)
etc..for up to k combinations
something so then I can use for loop to go through the al of these
combinations
example:
string<-"a", "b" , "c" ",d"
vector/list(1) ab ac ad bc bd be cd ce de
vec...