Dear All,

I have a data frame "data"  with Jan , Feb as column. I using  like this
data$Jan to take Jan column. I have the Jan in another variable

var1 <- "Jan"

data$var1

I need to replace the variable value there . Any help will be greatly
appreciated.

Thanks & Rg
Mohan L

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to