CALL_D_MEASURE: Evaluate the log-density of the measurement process by...

View source: R/RcppExports.R

CALL_D_MEASURER Documentation

Evaluate the log-density of the measurement process by calling measurement process density functions via external Xptr.

Description

Evaluate the log-density of the measurement process by calling measurement process density functions via external Xptr.

Usage

CALL_D_MEASURE(
  emitmat,
  emit_inds,
  record_ind,
  record,
  state,
  parameters,
  constants,
  tcovar,
  d_meas_ptr
)

Arguments

emitmat

matrix of emission probabilities

emit_inds

logical vector of measurement compartments to simulate

record_ind

row in the observation and emission matrices

record

vector of observed counts

state

numeric vector of latent comaprtment counts

parameters

numeric vector of parameter values

constants

numeric vector of constants

tcovar

numeric vector of time-varying covariate values

d_meas_ptr

external pointer to measurement process simulation function


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