Skip to contents

Visualize parts of the 'Stan' data

Usage

plot_stan_data_matrix(model, stan_data, name, subject_idx)

Arguments

model

A MultistateModel.

stan_data

A list of data for Stan. Created using create_stan_data.

name

Name of Stan data field to plot. Currently must be one of "transition", "at_risk".

subject_idx

Index of subject whose data rows to plot.