Learn R Programming

NetworkChange (version 0.8)

updateP: Update transition matrix

Description

Update transition matrix

Usage

updateP(s, ns, P, A0)

Arguments

s

Latent state vector

ns

The number of hidden states

P

Transition matrix

A0

Prior of transition matrix

Value

A transtion matrix