There is a %LET statement in SAS: %let MVAR=population; Thus, MVAR can be used
through entire program.
In R, I tried MAVR<-c("population"). The problem is that MAVR comes with double
quote "...." that I don't need. But MVAR<-c(population) did NOT work out. Any
way that double quote can be removed as done in SAS when creating macro_var?
Thanks in advance for helps!
Amoy
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.