Hi, I was trying to get at some values from 'data' using the get function. Here is my code:
> class(data) [1] "data.frame" > class(data$gender.factor) [1] "factor" > head(data$gender.factor) [1] Male Female Male Female Male Female Levels: Male Female > xx <- get("data$gender.factor") Error in get("data$gender.factor") : object 'data$gender.factor' not found > traceback() 2: get("data$gender.factor") 1: get("data$gender.factor") What should I be doing to read in the values using the get command? thanks! [[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.