Methods to convert an object to a loghr_data object.

as_loghr_data(x, ...)

# S3 method for data.frame
as_loghr_data(x, estimate = "estimate", standard_error = "standard_error", ...)

Arguments

x

An R object.

estimate

Name of the column containing the point estimate of the log hazard ratio.

standard_error

Name of the column containing the standard error of the estimate of the log hazard ratio.