Description Usage Arguments Functions
Comparison hypothesis matrix
1 2 3 4 5 6 | Pmat(f, type = c("factor", "raw", "mean", "(mean)", "<mean>", "II", "cen",
"cent", "center", "centre", "<centre>", "<center>", "(center)", "(centre)",
"III", "pairwise", "<others.m>", "<others.c>", "diff", "diffmean", "diffc",
"diffcen", "diffcentre", "diffcentre"), all = FALSE, sep = "")
Pmat_diffmat(w)
|
f |
a factor or otherwise a vector interpreted as the levels of a factor |
type |
one "factor","raw","mean","(mean)","<mean>","II", "cen","cent","center","centre","<centre>" , "<center>" , "(center)","(centre)","III","pairwise", "<others.m>", "<others.c>", "diff", "diffmean","diffc","diffcen","diffcentre","diffcentre" |
all |
for some values of |
sep |
can add spaces in constructed factor levels |
Pmat_diffmat
: a utility function to generate a matrix to apply to contrasts to yield differences from
means of other levels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.