Re: [R] Use a text variable's value to specify another varaible?

2007-01-26 Thread Marc Schwartz
On Fri, 2007-01-26 at 09:48 -0600, Ben Fairbank wrote: Greetings guRus -- If a variable, e.g., 'varname', is a character string, e.g. varname - datavector, and I want to apply a function, such as table(), to datavector, what syntax or method will do so using only the variable varname? This

Re: [R] Use a text variable's value to specify another varaible?

2007-01-26 Thread Erik Iverson
Can I ask why you aren't just passing in the object to your function, but instead a text name for that object? Ben Fairbank wrote: Greetings guRus -- If a variable, e.g., 'varname', is a character string, e.g. varname - datavector, and I want to apply a function, such as table(), to