| extract_sigma {nichetools} | R Documentation |
extract \Sigma
Description
Extract Bayesian estimates of \Sigma from data objects created by
nicheROVER
or SIBER.
Usage
extract_sigma(
data,
pkg = NULL,
isotope_a = NULL,
isotope_b = NULL,
data_format = NULL
)
Arguments
data |
a |
pkg |
a |
isotope_a |
a |
isotope_b |
a |
data_format |
a |
Value
Returns a tibble of extracted estimates of \Sigma created by
the function niw.post() or siberMVN() in the packages
nicheROVER.
and SIBER.
The returned object will contain five columns in the
following order when data_format is set to "wide",
metric, id, sample_name, isotope, sample_number,
and the posterior sample for \Sigma (e.g., d13c and d15n).
See Also
nicheROVER::niw.post() and SIBER::siberMVN()
Examples
extract_sigma(
data = niw_fish_post
)
extract_sigma(
data = post_sam_siber,
pkg = "SIBER"
)