Learn R Programming

seqHMM (version 2.1.0)

nobs.hmm: Number of Observations in Hidden Markov Model

Description

Extract the number of non-missing observations of HMM. When computing nobs for a multichannel model with $C$ channels, each observed value in a single channel amounts to $1/C$ observation, i.e. a fully observed time point for a single sequence amounts to one observation.

Usage

# S3 method for hmm
nobs(object, ...)

# S3 method for mhmm nobs(object, ...)

# S3 method for nhmm nobs(object, ...)

# S3 method for mnhmm nobs(object, ...)

Arguments

object

An object of class hmm, mhmm, nhmm, or mnhmm.

...

Ignored.