Learn R Programming

mhsmm (version 0.4.21)

rnorm.hsmm: Random number generation from a normally distributed emission distribution

Description

This generates values from a normally distributed emission state j given parameters in model.

Usage

rnorm.hsmm(j, model)

Value

A single value from the emission distribution.

Arguments

j

An integer representing the state

model

A hmmspec or hsmmspec object

Author

Jared O'Connell jaredoconnell@gmail.com

Details

This is essentially a wrapper for rnorm. Users may build functions with the same arguments and return values so they can use their own custom emission distributions.