posterior: Posterior states/classes

Description Usage Arguments Details Value Author(s) References

Description

Return the posterior states for a fitted (dep-)mix object. In the case of a latent class or mixture model these are the class probabilities.

Usage

1
2
3
4
	## S4 method for signature 'depmix.fitted'
posterior(object)
	## S4 method for signature 'mix.fitted'
posterior(object)

Arguments

object

A (dep-)mix object.

Details

See the fit help page for an example.

Value

posterior

: Returns a data.frame with nstates(object) + 1 columns; the first column has the viterbi states, the other columns have the delta probabilities, see Rabiner (1989).

Author(s)

Ingmar Visser

References

Lawrence R. Rabiner (1989). A tutorial on hidden Markov models and selected applications in speech recognition. Proceedings of IEEE, 77-2, p. 267-295.


depmixS4 documentation built on May 30, 2017, 6:48 a.m.

Search within the depmixS4 package
Search all R packages, documentation and source code