get.f: Method to get the conditional sojourn time distribution f

View source: R/allgenerics.R

get.fR Documentation

Method to get the conditional sojourn time distribution f

Description

Computes the conditional sojourn time distribution f(k), f_{i}(k), f_{j}(k) or f_{ij}(k).

Usage

get.f(x, k)

Arguments

x

An object of S3 class smmfit or smm.

k

A strictly positive integer giving the time horizon (k must be different from 0 since we assume that there are not instantaneous transitions).

Value

A vector, matrix or array giving the value of f at each time between 1 and k.


corentin-dev/smmR documentation built on April 14, 2023, 11:36 p.m.