countseq: counts the sequence of transitions

Description Usage Arguments Value

View source: R/msvar_utilities.R

Description

counts the sequence of transitions

Usage

1
countseq(x, h)

Arguments

x

a vector of length T with the regimes

h

the number of regimes

Value

an hxh matrix with the counts


joergrieger/bvar documentation built on Sept. 11, 2019, 12:05 a.m.