Pmat: Comparison hypothesis matrix

Description Usage Arguments Functions

Description

Comparison hypothesis matrix

Usage

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)

Arguments

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 type, indicates whether to use all contrasts. e.g. type = "pairwise" will produce pairwise comparisons in both directions if all == TRUE

sep

can add spaces in constructed factor levels

Functions


gmonette/spidanew documentation built on May 17, 2019, 7:27 a.m.