Hi David, Thanks for your advice.
The remaining commands will be; ### Create a side-by-side boxplot of the test01 boxplot(test01$DO ~ test01$Stream) ### Create an ANOVA table dotest01.aov <-(test01$DO ~ test01$Stream) summary(dotest01.aov) ### Conduct a Tukey's multiple comparison procedure TukeyHSD(dotest01.aov) Any advice? TIA B.R. Stephen L ----- Original Message ---- From: David Winsemius <dwinsem...@comcast.net> To: Stephen Liu <sati...@yahoo.com> Cc: r-help@r-project.org Sent: Fri, August 13, 2010 12:19:35 PM Subject: Re: [R] Learning ANOVA On Aug 12, 2010, at 11:34 PM, Stephen Liu wrote: > Hi folks, > > > File to be used is on; > data(InsectSprays) > > > I can't figure out where to insert it on following command; > test01 <- read.csv(fil.choose(), header=TRUE) Don't think that would work, even if you did spell file.choose() correctly. ?data "Description Loads specified data sets, or list the available data sets." At the console you can just type: data(InsectSprays) # and you have access to that object If you want to make another copy I suppose you could then type test01 <- InsectSprays ... but I don't see what you would gain by that. -- David. ______________________________________________ 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.