| summary.dmm | R Documentation |
Summarizes a drifting Markov model: its characteristics, the stationary laws of the states at the beginning, in the middle and at the end of the sequence and, when sequences are given, their length, log-likelihood, AIC and BIC.
## S3 method for class 'dmm'
summary(object, sequences = NULL, ...)
## S3 method for class 'summary.dmm'
print(x, digits = 4, ...)
object |
An object of class |
sequences |
(Optional) A character vector or a list of character vectors representing one or several sequences |
... |
Not used |
x |
An object of class |
digits |
Default=4. Number of significant digits |
An object of class summary.dmm: a list with the elements order,
degree, length, states, nb.param, init,
stationary (matrix of the stationary laws of the states at the positions 0,
n/2 and n) and fit (data frame with the length, log-likelihood, AIC and
BIC of each sequence, or NULL)
loglik, aic, bic, getStationaryLaw
data(lambda, package = "drimmR")
x <- fitdmm(lambda, 1, 1, c("a", "c", "g", "t"), init.estim = "freq")
summary(x, lambda)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.