Learn R Programming

NetworkChange (version 1.0.0)

updateP: Update transition matrix

Description

Update transition matrix

Usage

updateP(s, ns, P, A0)

Value

A transtion matrix

Arguments

s

Latent state vector

ns

The number of hidden states

P

Transition matrix

A0

Prior of transition matrix