View source: R/vander-zanden-appendix.R
vza_rescale | R Documentation |
This is a vectorized and much more efficient implementation
of the original rescale
function from the Vander Zanden appendix.
It takes the output of group_birds_by_location
directly
and does the parametric bootstrapping for vza_rescale_reps samples.
vza_rescale(SBL, vza_rescale_reps = 1000)
SBL |
the data frame that summarizes the isotope feather data and
isoscape predictions at each location. This must have columns of |
vza_rescale_reps |
Number of simulated regressions to do. Default is 1000. |
Returns a matrix with vza_rescale_reps rows. Column 1 is "intercepts" and column two is "slopes"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.