Adjust P-values for Multiple Comparisons

padjust(p, method, n, ...)

# S3 method for default
padjust(p, method, n, ...)

# S3 method for tableby
padjust(p, method, n, suffix = " (adjusted for multiple comparisons)", ...)

# S3 method for summary.tableby
padjust(p, method, n, suffix = " (adjusted for multiple comparisons)", ...)

Arguments

p

An object.

method

correction method. Can be abbreviated.

n

number of comparisons, must be at least length(p); only set this (to non-default) when you know what you are doing!

...

Other arguments.

suffix

A suffix to add to the footnotes indicating that the tests were adjusted.

See also