Learn R Programming

emil (version 2.2.10)

pvalue: 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

pvalue(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

pvalue.crr, pvalue.survdiff, pvalue.cuminc