getObsModel: Create the observation model component of a sparta JAGS model

View source: R/getObsModel.R

getObsModelR Documentation

Create the observation model component of a sparta JAGS model

Description

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.


BiologicalRecordsCentre/sparta documentation built on April 22, 2024, 2:34 p.m.