Description Usage Arguments Value Examples
Function to estimate the posterior probability of origin and likely/unlikely origins for stable hydrogen isotope samples and relative breeding abundance
1 | abun_assign(iso_data, rel_abun, iso_weight, abun_weight, odds = 0.67)
|
iso_data |
Dataframe containing the isotope-based assignment results from the iso_assign() function |
rel_abun |
Vector of relative abundance values for each breeding cell (should sum to 1). |
iso_weight |
Weight value to apply to stable isotope data. |
abun_weight |
Weight value to apply to relative abundance data. |
odds |
Odds for determining likely/unlikely origins. Default is 0.67. |
Data frames containing the isotope-based assignment results plus the weighted posterior probabilities & origins for each individual
1 2 | woth_iso <- iso_assign(dd = woth_dd, df_base = woth_base$ddf, lat = woth_base$y, lon = woth_base$x)
abun_assign(iso_Data = woth_iso, rel_abun = woth_base$rel.abun, iso_weight = -0.7, abun_weight = 0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.