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.