get_hazard {semicmprskcoxmsm}R Documentation

Compute the (Cumulative) Baseline Hazard from Cox Model

Description

Compute the Breslow type baseline hazard and cumulative baseline hazard at each event time from a Cox model.

Usage

get_hazard(fit)

Arguments

fit

The results of a coxph fit.

Details

See also basehaz, we only extract the estimated baseline hazard and baseline cumulative hazard from the results of a coxph fit.

Value

A list contains two dataframes.

Lambda

See also basehaz, returns the Breslow type cumulative baseline hazard.

lambda

Returns the Breslow type baseline hazard.

See Also

basehaz


[Package semicmprskcoxmsm version 0.2.0 Index]