When I try to create a list with three classes of objects: a numeric,
boolean, and vector of character data:
lst <- list(c(1,2),TRUE,c(“a”,“b”,“c”))
I receive this error:
Error: unexpected input in "lst <- list(c(1,2),TRUE,c(“"
I receive a similar error when I create a data frame with mixed classes
of objects.
Thanks ahead of time!
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.