The model should be class aov or lm and my model class is aovlist. tried tidy from broom library but did not work. To make it class aov, I had to remove the error term; model <- aov(Rotationdata_R$`GY(Mg/ha)`~Rep+code*as.factor(Nitrogen),data=Rotationdata_R) Ahmed Attia, Ph.D. Agronomist & Soil Scientist On Mon, Dec 25, 2017 at 7:38 PM, David Winsemius <dwinsemius at comcast.net> wrote:> >> On Dec 25, 2017, at 10:21 AM, Ahmed Attia <ahmedatia80 at gmail.com> wrote: >> >> LSD.test > > ?LSD.test > No documentation for ?LSD.test? in specified packages and libraries: > you could try ???LSD.test? > > -- > David Winsemius > Alameda, CA, USA > > 'Any technology distinguishable from magic is insufficiently advanced.' -Gehm's Corollary to Clarke's Third Law > > > > >
> On Dec 25, 2017, at 2:09 PM, Ahmed Attia <ahmedatia80 at gmail.com> wrote: > > The model should be class aov or lm and my model class is aovlist. > tried tidy from broom library but did not work. To make it class aov, > I had to remove the error term; > > model <- aov(Rotationdata_R$`GY(Mg/ha)`~Rep+code*as.factor(Nitrogen),data=Rotationdata_R)You seemed to have missed my point that LSD.test is not in the packages loaded by default.> Ahmed Attia, Ph.D. > Agronomist & Soil Scientist > > > > > > > On Mon, Dec 25, 2017 at 7:38 PM, David Winsemius <dwinsemius at comcast.net> wrote: >> >>> On Dec 25, 2017, at 10:21 AM, Ahmed Attia <ahmedatia80 at gmail.com> wrote: >>> >>> LSD.test >> >> ?LSD.test >> No documentation for ?LSD.test? in specified packages and libraries: >> you could try ???LSD.test? >> >> -- >> David Winsemius >> Alameda, CA, USA >> >> 'Any technology distinguishable from magic is insufficiently advanced.' -Gehm's Corollary to Clarke's Third Law >> >> >> >> >>David Winsemius Alameda, CA, USA 'Any technology distinguishable from magic is insufficiently advanced.' -Gehm's Corollary to Clarke's Third Law
Check the agricolae package. library(agricolae) El 25/12/17 a las 17:33, David Winsemius escribi?:>> On Dec 25, 2017, at 2:09 PM, Ahmed Attia <ahmedatia80 at gmail.com> wrote: >> >> The model should be class aov or lm and my model class is aovlist. >> tried tidy from broom library but did not work. To make it class aov, >> I had to remove the error term; >> >> model <- aov(Rotationdata_R$`GY(Mg/ha)`~Rep+code*as.factor(Nitrogen),data=Rotationdata_R) > You seemed to have missed my point that LSD.test is not in the packages loaded by default. > > >> Ahmed Attia, Ph.D. >> Agronomist & Soil Scientist >> >> >> >> >> >> >> On Mon, Dec 25, 2017 at 7:38 PM, David Winsemius <dwinsemius at comcast.net> wrote: >>>> On Dec 25, 2017, at 10:21 AM, Ahmed Attia <ahmedatia80 at gmail.com> wrote: >>>> >>>> LSD.test >>> ?LSD.test >>> No documentation for ?LSD.test? in specified packages and libraries: >>> you could try ???LSD.test? >>> >>> -- >>> David Winsemius >>> Alameda, CA, USA >>> >>> 'Any technology distinguishable from magic is insufficiently advanced.' -Gehm's Corollary to Clarke's Third Law >>> >>> >>> >>> >>> > David Winsemius > Alameda, CA, USA > > 'Any technology distinguishable from magic is insufficiently advanced.' -Gehm's Corollary to Clarke's Third Law > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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.