We can visualize the bbsBayes workflow with this flow chart of functions.
The functions are colour coded by category:
- BBS Data - Blue
- Data Prep - Pink
- Modelling - Green
- Exploring model trends and indices - Purple
- General helper functions - Orange
Functions which are connected by a solid, black
arrow, indicate that the output of the first function is required as
input to the second. For example, the output of stratify()
is required input for prepare_data()
.
Functions which are connected by a solid, grey
arrow, indicate that the output of the first function is
optional input to the second. For example, the output of
grenerate_trends()
is an option input for
plot_geofacet()
.
Functions which are connected by a dotted arrow
indicate that the first function can be used to create input for the
second, but not necessarily directly. For example,
fetch_bbs_data()
downloads BBS data which is used by
stratify()
, but it isn’t an input. Alternatively,
load_map()
can load a spatial data file for a specific
stratification which can be modified by the user and then used as input
to prepare_spatial()
or
generate_indices()
.
See the Function Reference for more details on how to use a particular function.