DATA 
dataset = dat
nstates = 2 

DISTRIBUTION
count ~ pois

INITIAL 
count:
  lambda = 5, 10
tpm:
  0.8, 0.2
  0.1, 0.9
  
FORMULA
count:
  lambda ~ s(x, bs = "ts")

TPM
. ; ~ s(x, bs = "ts")
~ 1 ; . 

 
  
