extract_history: Computes history for a fitted model

View source: R/extract_history.R

extract_historyR Documentation

Computes history for a fitted model

Description

Computes history for a fitted model, uses only mean values for each history parameter. Uses values for each random cluster, if "random" or "1|random" parametrisation was used.

Usage

extract_history(object)

Arguments

object

An object of class cumhist

Value

A matrix of cumulative history values for each state

Examples


br_fit <- fit_cumhist(br_singleblock, state = "State", duration = "Duration")
extract_history(br_fit)


bistablehistory documentation built on Sept. 13, 2023, 5:07 p.m.