CALL_R_MEASURE: Simulate from the measurement process by calling measurement...

View source: R/RcppExports.R

CALL_R_MEASURER Documentation

Simulate from the measurement process by calling measurement process functions via external Xptr.

Description

Simulate from the measurement process by calling measurement process functions via external Xptr.

Usage

CALL_R_MEASURE(
  obsmat,
  emit_inds,
  record_ind,
  state,
  parameters,
  constants,
  tcovar,
  r_meas_ptr
)

Arguments

obsmat

observation matrix

emit_inds

logical vector of measurement compartments to simulate

record_ind

row in the observation matrix

state

numeric vector of comaprtment counts

parameters

numeric vector of parameter values

constants

numeric vector of constants

tcovar

numeric vector of time-varying covariate values

r_meas_ptr

external pointer to measurement process simulation function


fintzij/stemr documentation built on March 25, 2022, 12:25 p.m.