loghr_data: Create a log hazard ratio data object

Description Usage Arguments Value See Also

View source: R/data-objects.R

Description

Create a data object that stores estimates of log hazard ratios from a survival model or covert an existing object with as_loghr_data().

Usage

1
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().


phcanalytics/ecmeta documentation built on Dec. 22, 2021, 7:48 a.m.