private_rescale: internal function for isotope machinations

Description Usage Arguments

View source: R/isotope-high-level.R

Description

does these things: 1. removes birds in Locations that have only 1 bird in them (printing a warning message while it does so) 2. does the vza rescaling process and returns the output that is needed for the vza_assign function. (basically the ouput of the mean and var rasters). Should return a-bar and b-bar too — all of that in a big list. Then with that output I can pump it all into vza_assign for a particular (left-out) ref_bird or for an assign bird. I should return the fitted model for each one.

Usage

1
private_rescale(birds, pred, std)

Arguments

birds

a data frame like "ref_birds" in isotope_posterior_probs after the isopredictions have been attached to it.

pred

The raster of isoscape predictions

std

The raster of isoscape standard deviations


gaiah documentation built on July 8, 2020, 6:12 p.m.