Description Usage Arguments Value Examples
Creates species accumulation curve plots (one or multiple
panels) from information contained in lists obtained with the function
selected_sites_SAC
.
1 2 3 |
SAC_selected_sites |
nested list of " |
col_mean |
(character) color for mean value of curve. Default = "blue". |
col_CI |
(character) color for confidence interval region for the curve. Default = "lightblue". |
alpha_mean |
(numeric) alpha level for line representing the mean, values from 0 to 1. Default = 0.7. Values close to 0 increase transparency. |
alpha_CI |
(numeric) alpha level for the region representing the confidence interval. Default = 0.2. |
xlab |
(character) label for x-axis of plot. Default = "Number of sites". |
ylab |
(character) label for y-axis of plot. Default = "Species". |
line_for_multiple |
(logical) whether to plot SACs only as lines when
multiple objects are in one or more of the internal lists in
|
main |
(character) title or titles for plots. The default, NULL, adds
titles according to names of elements in |
... |
other arguments to be passed to plot method for objects of class
" |
A plot of "specaccum
" objects. Multiple panels will be plotted
if SAC_selected_sites
list contains more than one element.
1 2 3 4 5 6 7 8 9 10 11 | # Data
data("b_pam", package = "biosurvey")
data("m_selection", package = "biosurvey")
# Subsetting base PAM according to selections
sub_pam_all <- subset_PAM(b_pam, m_selection, selection_type = "all")
SACs <- selected_sites_SAC(PAM_subset = sub_pam_all, selection_type = "all")
# Plotting
plot_SAC(SACs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.