logLik.hmm {seqHMM} | R Documentation |
Log-likelihood of a Hidden Markov Model
Description
Log-likelihood of a Hidden Markov Model
Usage
## S3 method for class 'hmm'
logLik(object, partials = FALSE, threads = 1, log_space = TRUE, ...)
## S3 method for class 'mhmm'
logLik(object, partials = FALSE, threads = 1, log_space = TRUE, ...)
Arguments
object |
A hidden Markov model. |
partials |
Return a vector containing the individual contributions of
each sequence to the total log-likelihood. The default is |
threads |
Number of threads to use in parallel computing. The default is 1. |
log_space |
Make computations using log-space instead of scaling for
greater numerical stability at the cost of decreased computational
performance. The default is |
... |
Ignored. |
Value
Log-likelihood of the hidden Markov model. This is an object of class
logLik
with attributes nobs
and df
inherited from the model object.
[Package seqHMM version 2.0.0 Index]