Skip to contents

Plot the evolution of the expected latent score of the OrderedRW model

Usage

plot_latent_OrderedRW(fit, id, patient_id, ...)

Arguments

fit

Stanfit object

id

Dataframe linking index in fit to (Patient, Time) pairs, cf. output from get_index()

patient_id

Patient ID

...

Arguments to pass to add_fanchart()

Value

Ggplot

  • Horizontal lines correspond to the expected cut-offs

  • Ribbons correspond to the CI of a logistic distribution