| summary {HiddenMarkov} | R Documentation |
Provides methods for the generic function summary.
## S3 method for class 'dthmm': summary(object, ...) ## S3 method for class 'mmglm': summary(object, ...) ## S3 method for class 'mmpp': summary(object, ...)
object |
an object with class "dthmm", "mmglm" or "mmpp". |
... |
other arguments. |
The code for the methods "dthmm", "mmglm" and "mmpp" can be viewed by typing summary.dthmm, summary.mmglm or summary.mmpp, respectively, on the R command line.
A list object with a reduced number of components, mainly the parameter values.
Pi <- matrix(c(0.8, 0.2,
0.3, 0.7),
byrow=TRUE, nrow=2)
x <- dthmm(NULL, Pi, c(0, 1), "beta",
list(shape1=c(2, 6), shape2=c(6, 2)))
x <- simulate(x, nsim=2000)
print(summary(x))