Skip to contents

Transition probabilities from an msmbayes model, presented as a tidy data frame

Usage

pmatrixdf(draws, t = 1, new_data = NULL)

Arguments

draws

Object returned by msmbayes.

t

prediction time or vector of prediction times

new_data

Data frame with covariate values to predict for

Value

A data frame containing samples from the posterior distribution. See qdf for notes on this format and how to summarise.