Skip to contents

Visualize numerical integration of hazard

Usage

plot_stan_data_integral(model, stan_data, iidx, h0 = 0.001, w = NULL)

Arguments

model

A MultistateModel.

stan_data

A list of data for Stan. Created using create_stan_data.

iidx

Interval index

h0

Hazard function average value

w

Hazard function spline weights. Randomly generated if not given.