Texas A&M University
> College Station, TX 77840-4352
>
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Sergio
> Fonda
> Sent: Wednesday, February 24, 2016 6:47 AM
> To: Jim Lemon
> Cc: r-help@r-project.org
> Subject: Re
gy
Texas A&M University
College Station, TX 77840-4352
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Sergio Fonda
Sent: Wednesday, February 24, 2016 6:47 AM
To: Jim Lemon
Cc: r-help@r-project.org
Subject: Re: [R] Order output list od TukeyHSD
Thank you Jim also for introducing a shorter data frame.
However the HSD output I deal with is derived from a crossing factors
condition.
Could you kindly explain how could I sort results obtained from a
fm1 <- aov(breaks ~ wool * tension, data = warpbreaks)
hsd.fit<-TukeyHSD(fm1, "wool:tension",
Hi Sergio,
I couldn't get your example data to read in, so I have used the example in
the help page:
fm1 <- aov(breaks ~ wool + tension, data = warpbreaks)
hsd.fit<-TukeyHSD(fm1, "tension", ordered = TRUE)
hsd.fit$tension[order(hsd.fit$tension[,4]),]
difflwr upr p adj
L-
Hello, It's already for several hours that I try to order the list
obtained by the function TukeyHSD according to the variable "p adj"
(in ascending order). Unfortunately, without success.
In addition to following two lines of code, that offer the result but
separately so do not correspond to the
5 matches
Mail list logo