get_BBS_model_estimates: Extract annual trend or abundance index estimates from...

Description Usage Arguments Details Value

View source: R/get_BBS_model_estimates.R

Description

Extract annual trend or abundance index estimates from BBS-style hierarchical model

Usage

1
2
get_BBS_model_estimates(modresults, type, projects = NULL,
  years = NULL)

Arguments

modresults

Model output from running fit_BBS_model

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.

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.

Value

Dataframe containing predicted value and 95


pointblue/palo documentation built on Nov. 5, 2019, 12:58 a.m.