- preFEC
numeric vector. Pre-treatment faecal egg counts. Not required if modelData
is supplied.
- postFEC
numeric vector. Post-treatment faecal egg counts. Not required if modelData
is supplied.
- rawCounts
logical. If TRUE, preFEC
and postFEC
correspond to raw counts
(as counted on equipment). Otherwise they correspond to calculated epgs (raw counts times correction factor).
Defaults to FALSE
. Not required if modelCode
or modelFile
is supplied.
- preCF
a positive integer or a vector of positive integers. Pre-treatment correction factor(s). Not required if modelCode
or modelFile
is supplied.
- postCF
a positive integer or a vector of positive integers. Post-treatment correction factor(s). Not required if modelCode
or modelFile
is supplied.
- modelName
string. One of four availale models ("Po", "UPo", "ZIPo", "ZIUPo") from eggCountsExtra package, which corresponds to outlier-adjusted version of paired, unpaired, paired with zero inflation and unpaired with zero inflation models. Not required if modelCode
or modelFile
is supplied.
- modelCode
stan model code. Not required when modelName
or modelFile
is supplied.
- modelFile
stan model file with file extension ‘*.stan’. Not required when modelName
or modelCode
is supplied.
- modelData
stan data list. A named list or environment providing the data for the model, or a character vector for all the names of objects in the current enviroment used as data. Not required when modelName
is supplied.
- nsamples
a positive integer. Number of samples for each chain (including burn-in samples).
- nburnin
a positive integer. Number of burn-in samples.
- thinning
a positive integer. Thinning parameter, i.e. the period for saving samples.
- nchain
a positive integer. Number of chains.
- ncore
a positive integer. Number of cores to use when executing the chains in parallel.
- adaptDelta
numeric. The target acceptance rate, a numeric value between 0 and 1.
- verbose
logical. If TRUE, prints progress and debugging information.