James Milks <james.milks <at> wright.edu> writes:
>
> When I then further select by species, (site.name1<-subset(site.name,
> Species=c("species 1", "species 2", "species 4", "species 7",
> "species 8"))), I get an error message:
>
>
I think you probably want
site.name1<-subset(site.name,
Species %in% c("species 1", "species 2", "species 4", "species 7",
"species 8"))
cheers
Ben Bolker
______________________________________________
[email protected] 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.