simAR: Generic forward simulation function that can accomdate models...

Description Usage Arguments

View source: R/forward_sim.R

Description

Generic forward simulation function that can accomdate models with and without exposure classes

Usage

1
simAR(X, Tx, PAR, Bfn, cpp = T)

Arguments

X

A vector of prevalence rates

Tx

A vector of case-management rates

PAR

A set of model parameters

Bfn

A function for building the matrix represention of the system of equations that update the state vector

cpp

A toggle for using the C++ version of the forward simulation algorithm


aucarter/pr2ar documentation built on Nov. 3, 2019, 1:59 p.m.