Hello,

How can I make the following expressions are equivalent
datos$Col1 and datos$var when I define var <- "Col1"?


I am trying to get the same result with
> datos$Col1
 [1] 0 1 1 0 1 0 1 1 0

And
> datos$var
NULL

Thank's ,
Ramón

        [[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