Skip to contents

This function is primarily for internal use within getModelFile. It is used to write an observation model that fits the users needs. The model is returned as a character.

Usage

getObsModel(modeltype, verbose = FALSE)

Arguments

modeltype

Character, one of: jul_date, catlistlength, contlistlength. See occDetFunc for more information.

verbose

Logical, if true progress is reported to the console

Value

A character, of JAGS model code, that describes the observation model.