hazards: Get baseline hazards atoms from fits from

View source: R/hazards.R

hazardsR Documentation

Get baseline hazards atoms from fits from

Description

Get baseline hazards atoms from fits from

Usage

hazards(x, cum = TRUE, ...)

Arguments

x

A reg object.

cum

Logical: Should the cumulative hazards be returned?

...

Additional arguments for various methods.

Value

A list where each component is a two-column matrix representing hazard atoms from one stratum. The first column is event time, and the second column is the corresponding hazard atom.


eha documentation built on Oct. 1, 2023, 1:07 a.m.