These models are included in bbsBayes. The model files themselves can be
found by running system.file("models", package = "bbsBayes")
.
Format
bbs_models
A data frame with 9 rows and 3 columns:
model
- Model typefirst_diff
- First difference modelsgam
- General Additive Models (GAM)gamye
- General Additive Models (GAM) with Year Effectslope
- Slope models
variant
- Variant of the model to runnonhier
- Non-hierarchical models (only available for first difference models)hier
- Hierarchical modelsspatial
- Spatial models
file
- Stan model file name
Details
To create a custom Stan model, see copy_model_file()
and the model_file
argument of prepare_model()
. See also the models article for more
details.