Creates table of p values for pairwise comparisons with corrections for multiple testing.
pairwise.table(compare.levels, level.names, p.adjust.method)
Function to compute (raw) p value given indices
i
and j
Names of the group levels
Method for multiple testing adjustment. Can be abbreviated.
Table of p values in lower triangular form.
Functions that do multiple group comparisons create separate
compare.levels
functions (assumed to be symmetrical in i
and j
) and passes them to this function.