Hi, Crosby, Jacy R wrote: > > i.e. I'd like to have aov(Phen1~L1) use only Pat1-Pat4,and Pat 10. > Similarly, aov(Phen1~L2) should use Pat1, 6, and 10. > Etc. > > Is this something I can do in the aov function, or do I need to modify my > dataset before running aov? In either case, I need ideas...
Maybe this in your aov formulae: REG[ -grep("[?]",REG[,i]), 3+j ]~REG[ -grep("[?]",REG[,i]),i ] Kind regards, Kimmo ______________________________________________ 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.