Description Usage Arguments Details Value
View source: R/get_BBS_model_estimates.R
Extract annual trend or abundance index estimates from BBS-style hierarchical model
1 2 | get_BBS_model_estimates(modresults, type, projects = NULL,
years = NULL)
|
modresults |
Model output from running |
type |
Type of estimates to extract: annual indices of abundance ('index'), or predicted values from the linear trend ('trend'). |
projects |
Character string for the 4-letter project code(s), in all caps |
years |
Numeric vector for 4-digit years. See details. |
The BBS model output does not explicitly keep track of which years are included in each model, but keeps them in order. For type = 'index', provide a vector of years that are actually included in the original data. For type = 'trend', provide the full list of years between the earliest and last.
Dataframe containing predicted value and 95
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.