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

View source: R/RcppExports.R

evaluate_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

evaluate_d_measure(
  emitmat,
  obsmat,
  statemat,
  measproc_indmat,
  parameters,
  constants,
  tcovar_censusmat,
  d_meas_ptr
)

Arguments

emitmat

matrix of emission probabilities

obsmat

matrix containing the data

statemat

matrix containing the compartment counts at the observation times

measproc_indmat

logical matrix indicating which compartments are observed at every observation time

parameters

numeric vector of parameter values

constants

numeric vector of constants

tcovar_censusmat

numeric vector of time-varying covariate values

d_meas_ptr

external pointer to measurement process density function


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