View source: R/general_markov_model.R

get_hazard | R Documentation |

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

get_hazard(fit)

`fit` |
The results of a |

See also `basehaz`

, we only extract the estimated baseline hazard and baseline cumulative hazard from the results of a `coxph`

fit.

A list contains two dataframes.

`Lambda` |
See also |

`lambda` |
Returns the Breslow type baseline hazard. |

`basehaz`

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.