Displaying 1 result from an estimated 1 matches for "pop_0ad".
Did you mean:
op_mad
2009 Jul 14
1
From list to variable name
...mbinations. And this is where I?am getting stuck. I have searched several R websites but with no success.
This is how I generate the different combinations of my explanatory variables and replace the resulting colons with '+':
> comb<-cbind(attributes(terms(~ pop_1850AD * pop_500AD * pop_0AD * pop_1000AD * pop_1000BC))$term.labels)
> x<-gsub(":","+",comb)?
I think, what I need to do next, is get rid of the inverted commas.?So I have tried several things.
1. w<-print(x,quote=F) - this prints out the list without inverted commas, but if I then type 'w...