Learn R Programming

emil (version 1.1-6)

p.value: Extraction of p-value from a statistical test

Description

These calculations are written in such a way that they avoid rounding off errors that plague the survival and cmprsk packages.

Usage

p.value(x, log.p = FALSE, ...)

Arguments

x
Test, i.e. a fitted object of a supported type.
log.p
Whether to return the logarithm of the p-value.
...
Sent to class method.

Value

  • p-value.

See Also

p.value.crr, p.value.survdiff, p.value.cuminc