Learn R Programming

Biograph (version 2.0.6)

transitions: Generate flow table

Description

Generates table of transitions by origin and destination.

Usage

transitions(Bdata,newnamstates)

Arguments

Bdata
Biograph object
newnamstates
New names of the states

Value

nsample
Sample size
namstates
Names of the states
ntrans
Number of possible interstate transitions
nntrans
Transition count by origin and destination
trans_possible
Logical variable indicating which transitions are feasible
transitions
List of feasible transitions: line number of transition, origin state and destination state
tmat
Line numbers of the feasible transitions

Examples

Run this code
data (GLHS)
z <- transitions (GLHS)

Run the code above in your browser using DataLab