Re: [R] Learning ANOVA

2010-08-17 Thread Martin Maechler
Liaw, Andy andy_l...@merck.com on Mon, 16 Aug 2010 08:22:33 -0400 writes: From: Stephen Liu Hi JesperHybel, Thanks for your advice. If you're trying to follow the youtube video you have a typing mistake here: InsectSprays.aov

Re: [R] Learning ANOVA

2010-08-16 Thread Liaw, Andy
, 2010 2:09:48 AM Subject: Re: [R] Learning ANOVA If you're trying to follow the youtube video you have a typing mistake here: InsectSprays.aov -(test01$count ~ test01$spray) I think this should be: InsectSprays.aov -aov(test01$count ~ test01$spray) youre missing

Re: [R] Learning ANOVA

2010-08-16 Thread Stephen Liu
- Original Message From: Liaw, Andy andy_l...@merck.com To: Stephen Liu sati...@yahoo.com; r-help@r-project.org Sent: Mon, August 16, 2010 8:22:33 PM Subject: RE: [R] Learning ANOVA - snip - Well-written model fitting functions should be called like this: modelfn(var1 ~ var2

Re: [R] Learning ANOVA

2010-08-16 Thread Erik Iverson
Stephen Liu wrote: - Original Message From: Liaw, Andy andy_l...@merck.com To: Stephen Liu sati...@yahoo.com; r-help@r-project.org Sent: Mon, August 16, 2010 8:22:33 PM Subject: RE: [R] Learning ANOVA - snip - Well-written model fitting functions should be called like

Re: [R] Learning ANOVA

2010-08-16 Thread Stephen Liu
- Original Message From: Erik Iverson er...@ccbr.umn.edu To: Stephen Liu sati...@yahoo.com Cc: r-help@r-project.org Sent: Mon, August 16, 2010 11:41:34 PM Subject: Re: [R] Learning ANOVA modelfn(count ~ spray, data=test01) Error: could not find function modelfn What will be +var3

Re: [R] Learning ANOVA

2010-08-16 Thread Robert Baer
(InsectSprays$count ~ InsectSprays$spray) - Original Message - From: Stephen Liu sati...@yahoo.com To: r-help@r-project.org Sent: Monday, August 16, 2010 11:01 AM Subject: Re: [R] Learning ANOVA - Original Message From: Erik Iverson er...@ccbr.umn.edu To: Stephen Liu sati

Re: [R] Learning ANOVA

2010-08-16 Thread Stephen Liu
- Original Message From: Robert Baer rb...@atsu.edu To: Stephen Liu sati...@yahoo.com; r-help@r-project.org Sent: Tue, August 17, 2010 12:35:07 AM Subject: Re: [R] Learning ANOVA modelfn(count ~ spray, data=test01) Error: could not find function modelfn What will be +var3 ? I think

Re: [R] Learning ANOVA

2010-08-15 Thread Stephen Liu
- Original Message From: David Winsemius dwinsem...@comcast.net To: JesperHybel jesperhy...@hotmail.com Cc: r-help@r-project.org Sent: Sat, August 14, 2010 5:44:00 PM Subject: Re: [R] Learning ANOVA Hi David, - snip - JH Also how to save InsectSprays.aov? I think I can only save

Re: [R] Learning ANOVA

2010-08-15 Thread David Winsemius
On Aug 15, 2010, at 10:58 AM, Stephen Liu wrote: - Original Message From: David Winsemius dwinsem...@comcast.net To: JesperHybel jesperhy...@hotmail.com Cc: r-help@r-project.org Sent: Sat, August 14, 2010 5:44:00 PM Subject: Re: [R] Learning ANOVA Hi David, - snip - JH Also how

Re: [R] Learning ANOVA

2010-08-14 Thread JesperHybel
how to plot 4 graphs simultaneously? Depends on what graphs were talking about: A Side-by-side boxplot containing fx 4 boxplots can be generated by a single plot() command. However often you use a primary command that activivates the plot window and plots one graph, then afterwards you use

Re: [R] Learning ANOVA

2010-08-14 Thread David Winsemius
On Aug 14, 2010, at 3:38 AM, JesperHybel wrote: JH .how to plot 4 graphs simultaneously? Depends on what graphs were talking about: A Side-by-side boxplot containing fx 4 boxplots can be generated by a single plot() command. However often you use a primary command that activivates the

[R] Learning ANOVA

2010-08-13 Thread Stephen Liu
-project.org Sent: Fri, August 13, 2010 11:34:31 AM Subject: [R] Learning ANOVA 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) Please help. TIA B.R

Re: [R] Learning ANOVA

2010-08-13 Thread Erik Iverson
Performed following steps on R:- ### to access to the object data(InsectSprays) ### create a .csv file write.csv(InsectSprays, InsectSpraysCopy.csv) On another terminal $ sudo updatedb $ locate InsectSpraysCopy.csv /home/userA/InsectSpraysCopy.csv ### Read in some data test01 -

Re: [R] Learning ANOVA

2010-08-13 Thread Liaw, Andy
) : invalid type (NULL) for variable 'test01$DO' I was stucked here. Pls help. TIA B.R. Stephen L - Original Message From: Stephen Liu sati...@yahoo.com To: r-help@r-project.org Sent: Fri, August 13, 2010 11:34:31 AM Subject: [R] Learning ANOVA Hi folks, File

Re: [R] Learning ANOVA

2010-08-13 Thread Stephen Liu
To: Stephen Liu sati...@yahoo.com Cc: r-help@r-project.org Sent: Sat, August 14, 2010 12:15:31 AM Subject: Re: [R] Learning ANOVA Performed following steps on R:- ### to access to the object data(InsectSprays) ### create a .csv file write.csv(InsectSprays, InsectSpraysCopy.csv

Re: [R] Learning ANOVA

2010-08-13 Thread Christopher W Ryan
sati...@yahoo.com Cc: r-help@r-project.org Sent: Sat, August 14, 2010 12:15:31 AM Subject: Re: [R] Learning ANOVA Performed following steps on R:- ### to access to the object data(InsectSprays) ### create a .csv file write.csv(InsectSprays, InsectSpraysCopy.csv) On another

Re: [R] Learning ANOVA

2010-08-13 Thread JesperHybel
If you're trying to follow the youtube video you have a typing mistake here: InsectSprays.aov -(test01$count ~ test01$spray) I think this should be: InsectSprays.aov -aov(test01$count ~ test01$spray) youre missing the functioncall aov on the right hand side of the assignment operator '-'.

Re: [R] Learning ANOVA

2010-08-13 Thread Stephen Liu
- Original Message From: Liaw, Andy andy_l...@merck.com To: Stephen Liu sati...@yahoo.com; r-help@r-project.org Sent: Sat, August 14, 2010 12:48:33 AM Subject: RE: [R] Learning ANOVA Note the names of the variables here. They don't match what you tried to use in your boxplot() call

Re: [R] Learning ANOVA

2010-08-13 Thread Stephen Liu
2:09:48 AM Subject: Re: [R] Learning ANOVA If you're trying to follow the youtube video you have a typing mistake here: InsectSprays.aov -(test01$count ~ test01$spray) I think this should be: InsectSprays.aov -aov(test01$count ~ test01$spray) youre missing the functioncall aov on the right

Re: [R] Learning ANOVA

2010-08-13 Thread Stephen Liu
. Otherwise it won't be easy for a beginning remembering all commands and steps on manual. B.R. Stephen L - Original Message From: Christopher W Ryan cr...@binghamton.edu To: R-help@r-project.org Sent: Sat, August 14, 2010 1:51:34 AM Subject: Re: [R] Learning ANOVA Read

[R] Learning ANOVA

2010-08-12 Thread Stephen Liu
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) Please help. TIA B.R. __ R-help@r-project.org mailing list

Re: [R] Learning ANOVA

2010-08-12 Thread David Winsemius
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.

Re: [R] Learning ANOVA

2010-08-12 Thread Stephen Liu
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