1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
indata |
The file path to the .rdata file produced using |
output_path |
The file path to the folder in which the filtered stack should be saved. |
group_name |
Name used for the output file |
metadata |
Metadata detailing the information on which filtering is required for each
species. This is produced using
If region is not NULL all columns must be suffixed with "_r_region" e.g. n_obs_r_ENGLAND if the posterior samples are the values for the region ENGLAND from a model with multiple regions. |
region |
The name of the focal region if estimates are for one region from a regional model. This must exactly match the region name used in the model. |
minObs |
The threshold number of observations a species must have. Species with fewer observations are removed by this filter. |
maxStartGap |
The maximum number of years allowed between the first model estimate and the first observation. |
maxEndGap |
The maximum number of years allowed between the last observation and the last model estimate. |
maxMiddleGap |
The maximum number of consecutive years allowed between the first and last observations in which the focal species was not observed. |
keepSpecies |
A vector of species names that match those in indata. All other species will be removed from the data. |
removeSpecies |
A vector of species names that match those in indata. These species will be removed from the data. |
ClipFirst |
Whether to clip all species time series to begin in the year of their first observation. |
ClipLast |
Whether to clip all species time series to end in the year of their last observation. |
This function will save an .rdata file containing the stacked estimates after the specified filters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.