pairwiseOrdinalPairedMatrix(x, g, b, method = "fdr", ...)
p.adjust
.clmm
.ordinal
package provides a flexible and powerful
implementation of ordinal regression.
The pairwiseOrdinalPairedTest
function
can be used as a post-hoc method following an omnibus
ordinal regession whose form is analogous to
a one-way analysis of variance with random blocks.
The matrix output can be converted to a compact letter display.
The blocking variable is treated as a random variable.
The x
variable must be an ordered factor.
pairwiseOrdinalPairedTest
data(BobBelcher)
BobBelcher$Likert.f = factor(BobBelcher$Likert, ordered = TRUE)
BobBelcher = BobBelcher[order(factor(BobBelcher$Instructor,
levels=c("Linda Belcher", "Louise Belcher",
"Tina Belcher", "Bob Belcher",
"Gene Belcher"))),]
PT = pairwiseOrdinalPairedMatrix(x = BobBelcher$Likert.f,
g = BobBelcher$Instructor,
b = BobBelcher$Rater,
threshold="equidistant",
method = "fdr")$Adjusted
PT
library(multcompView)
multcompLetters(PT,
compare="<",
threshold=0.05,
Letters=letters)
Run the code above in your browser using DataLab