Create a data object that stores estimates of log hazard ratios from a survival
model or covert an existing object with as_loghr_data()
.
loghr_data(estimate, standard_error)
estimate | The point estimate of the log hazard ratio. |
---|---|
standard_error | The standard error of the estimate of the log hazard ratio. |
An object of class loghr_data
, which inherits from data.frame
and
contains one column named estimate
and a second column named standard_error
.
loghr_data
objects can also be created from existing R
objects
with as_loghr_data()
.