Rdocumentation
powered by
Learn R Programming
moonBook (version 0.1.1)
extractHR: Extract hazard ratio from a data.frame
Description
Extract hazard ratio from a data.frame
Usage
extractHR(x, digits = 2)
Arguments
x
an object of class coxph
digits
An integer indicating the number of decimal places (round) or significant digits (signif) to be used. Default value is 2.
Value
a data.frame consist of hazard ratio and 95 the p values.