I have a data set called GQ1, which has 20 variables one of which is a factor called Status at thre levels "Expert", "Ecol" and "Stake"
I have managed to evaluate some of the data split by status using commands like: summary (Max[Status=="Ecol"]) BUT how do I produce asummary for Ecol and Expert combined, the only example I can find suggsts I could use summary (Max[Status=="Ecol"& Status=="Expert"]) but that doesn't work. Additionally on the same vein, if I cannot work out how to create a new data set that would contain all the data for all the variables but only for the data where Status = Ecol, or where status equalles Ecol and Expert. I know this is yet again a very simple problem, but I really can't find the solution in the help or the books I have. Many thanks, Graham [[alternative HTML version deleted]] ______________________________________________ R-help@stat.math.ethz.ch 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.