Re: [R] referencing headers to extract components of a data frame

2012-05-19 Thread David Winsemius
On May 19, 2012, at 3:32 PM, Chris North wrote: Hi there, I'm working on a for loop to perform some simple calculations on data. However, I'm having trouble extracting components from my data frame using names pulled off a list to reference headers. I'm relatively new to R, but I've done s

[R] referencing headers to extract components of a data frame

2012-05-19 Thread Chris North
Hi there, I'm working on a for loop to perform some simple calculations on data. However, I'm having trouble extracting components from my data frame using names pulled off a list to reference headers. I'm relatively new to R, but I've done some programming in various other languages, and have don