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

View source: R/spec_functions.R

rnorm.hsmmR 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


mhsmm documentation built on Aug. 23, 2023, 9:06 a.m.