Displaying 1 result from an estimated 1 matches for "curfa".
Did you mean:
curfn
2012 May 19
1
referencing headers to extract components of a data frame
...le code, to demonstrate what I'm attempting to do:
> work_data$i.15.0
[1] 0.03 0.03 0.03 0.02 0.02 0.03 0.02 0.02
> currentFA
[1] "i.15.0"
> work_data$currentFA *this is what I want to do, access my data frame by
calling with header name pulled from elsewhere.
NULL
> curFA <- noquote(currentFA) *tried stripping quotes, still doesn't work
> curFA
[1] i.15.0
> work_data$curFA
NULL
Thanks!
Chris
[[alternative HTML version deleted]]