ldhmm.n2w | R Documentation |
This utility linearizes the natural parameters and transforms the contrained parameters to unconstrained parameters. (Zucchini, 3.3.1)
ldhmm.n2w(object, mu.scale = 1)
object |
an ldhmm object |
mu.scale |
numeric, if provided, e.g. |
numeric, linear working parameter array
Stephen H. Lihn
param0 <- matrix(c(0.003, 0.02, 1, -0.006, 0.03, 1.3), 2, 3, byrow=TRUE)
gamma0 <- matrix(c(0.9, 0.1, 0.1, 0.9), 2, 2, byrow=TRUE)
d <- ldhmm(m=2, param=param0, gamma=gamma0)
v <- ldhmm.n2w(d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.