getProcesses: Function to compute processes based on a list of sequences

View source: R/getProcesses.R

getProcessesR Documentation

Function to compute processes based on a list of sequences

Description

Function to compute processes based on a list of sequences

Usage

getProcesses(sequences)

Arguments

sequences

A list of sequences of states.

Value

A list giving:

  • s : Cardinal of the states space;

  • states : Vector of state space of length s;

  • M : The total length (sum of the length of each sequence);

  • L : The number of sequences;

  • kmax : Maximum length of the sojourn times;

  • Ym: List of semi-Markov chains;

  • Jm: List of successively visited states for each sequence;

  • Tm: List of successive time points when state changes for each sequence;

  • Lm: List of sojourn time for each sequence;

  • Um: List of backward recurrence time for each sequence;

  • counting : List giving the counting processes such as N_{ij}(k), N_{i}(k), N_{j}(k)...


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