[R] changing character to a vector name

Laura Holt lauraholt_983 at hotmail.com
Tue Nov 16 17:59:00 CET 2004

Dear R People:

I would like to generate a vector/variable name from within a loop to be 
passed to a table

This is what I have so far:
[1] "raw3.df$CITIZEN"
Essentially, I want to use the raw3.df$CITIZEN along with another value to 
generate a table.

However, I'm stuck here.  I know this is incredibly stupid.

Thanks in advance.
Laura Holt
mailto: lauraholt_983 at hotmail.com

More information about the R-help mailing list