arsenal (version 2.0.0)

padjust: Adjust P-values for Multiple Comparisons

Description

Adjust P-values for Multiple Comparisons

Usage

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

p.adjust, modpval.tableby, tests.tableby