Skip to contents

These models are included in bbsBayes. The model files themselves can be found by running system.file("models", package = "bbsBayes").

Usage

bbs_models

Format

bbs_models

A data frame with 9 rows and 3 columns:

  • model - Model type

    • first_diff - First difference models

    • gam - General Additive Models (GAM)

    • gamye - General Additive Models (GAM) with Year Effect

    • slope - Slope models

  • variant - Variant of the model to run

    • nonhier - Non-hierarchical models (only available for first difference models)

    • hier - Hierarchical models

    • spatial - 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.