Ok, I know R isn't an optimal environment for looping (or so I've heard) but 
I have a need to loop through columns of data and create new columns of data 
based on calculations within rows...

I'm sure there's a help file, but I'm not sure what search terms to use to 
find it! The problem is that these new columns need to have names that I can 
later access... Like NewVar1, NewVar2, etc.... 

In php I'd call this "indirection" but I'm not sure what to call it in R so 
that I can find instructions on how to create, name, and address the values 
stored this way...

any gentle nudges in the right direction would be greatly appreciated!

-- 
---------------------------------------
David L. Van Brunt, Ph.D.
mailto:[EMAIL PROTECTED]

        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to