Description Usage Arguments Details Value Examples
bin
combines species observations based on input environmental
gradient. Number of bins or number of records can be specified. Resulting
bins can also be examined using the summary
option.
1 |
sp |
data frame containing species observations as columns with an environmental gradient as the first column (needs work). |
n |
scalar value indicating the number of bins or number of
records per bin (see |
n_bins |
logical indicating if |
summary |
logical indicating if |
bin
is used to "bin" (i.e., combine by taking the mean) species
species observations for taxa used to create Biotic Response functions
(est_brc
). Unlike other functions in package iec
,
function bin
takes a data frame that contains the environmental
gradient as the first column.
If summary = FALSE
(default), bin
returns data frame
containing the binned species records and environmental gradient. Both of
these are means. If presence/absence data are used (codes as 0/1), the
mean is also a probability. If summary = TRUE
, bin
returns
a table of the number of records per bin.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.