rnorm.hsmm {mhsmm}R Documentation

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)

Arguments

j

An integer representing the state

model

A hmmspec or hsmmspec object

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.

Value

A single value from the emission distribution.

Author(s)

Jared O'Connell jaredoconnell@gmail.com


[Package mhsmm version 0.4.21 Index]