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)

Arguments

estimate

The point estimate of the log hazard ratio.

standard_error

The standard error of the estimate of the log hazard ratio.

Value

An object of class loghr_data, which inherits from data.frame and contains one column named estimate and a second column named standard_error.

See also

loghr_data objects can also be created from existing R objects with as_loghr_data().