Thank you. It worked beautifully :)
--
View this message in context:
http://r.789695.n4.nabble.com/How-to-create-data-frame-column-name-in-a-function-tp4605358p4608663.html
Sent from the R devel mailing list archive at Nabble.com.
__
R-devel@r-project.
Hello,
pvshankar wrote
>
> Hello all,
>
> I have a data frame with column names s1, s2, s3s11
>
> I have a function that gets two parameters, one is used as a subscript for
> the column names and another is used as an index into the chosen column.
>
> For example:
>
> my_func <- functio