Skip to contents

Converts table of transition probabilities from trans.prob to a table of equivalent state probabilities

Usage

trans2state(modelobj, transtable, initstate = NULL)

Arguments

modelobj

A pandista model object

transtable

The table of transition probabilites as generated by function trans.prob

initstate

vector; the initial probabilities of the states, with non-zero entries that sum to one.

Details

Input table is a single 2-dim array with time as row number Resamples are along dimension 3 if present, and are handled individually (no summary statistics are computed)