Description Usage Arguments References Examples
View source: R/Combine_posteriors.r
This takes the individual posterior sample files for each species from a directory where these have been downloaded from the associated EIDC reposotory and combines them for the group level analyses presented within the associated paper.
1 | combine_posteriors(group_level, datadir, outdir, status = TRUE)
|
group_level |
A character string of either |
datadir |
A filepath specifying where the repository downloads are saved. POSTERIOR_SAMPLES subfolder must be within this directory. |
outdir |
A filepath specifying where the combined posterior outputs are to be saved. |
status |
Logical. If |
Outhwaite et al (in prep) Complexity of biodiversity change revealed through long-term trends of invertebrates, bryophytes and lichens.
Outhwaite, C. L., Powney, G. D., August, T. A., Chandler, R. E., Rorke, S., Pescott, O., … Isaac, N. J. B. (2019). Annual estimates of occupancy for bryophytes, lichens and invertebrates in the UK (1970-2015). NERC Environmental Information Data Centre. https://doi.org/10.5285/0ec7e549-57d4-4e2d-b2d3-2199e1578d84
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
# Run combine_posteriors function for taxa level analyses.
combine_posteriors(group_level = "taxa",
datadir = paste0(getwd(), "/Repository downloads"),
outdir = paste0(getwd(), "/Outputs"),
status = TRUE)
#' # Run combine_posteriors function for major group level analyses.
combine_posteriors(group_level = "major_group",
datadir = paste0(getwd(), "/Repository downloads"),
outdir = paste0(getwd(), "/Outputs"),
status = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.