Fill in missing records for the standard deviation of body mass for a
species, based on its mean body size and the parameters estimated by the
linear model fit by get_sd_parameters.
Usage
add_estimated_sds(clean_size_data, sd_pars)
Arguments
- clean_size_data
dataframe of species' masses and standard deviations;
as generated by clean_sp_size_data
- sd_pars
parameters as list of $slope, $intercept; as generated by
get_sd_parameters
Value
a dataframe of species' species_id (which matches the AOU in the
Breeding Bird Survey), mass mean body mass, sd standard deviation body
mass, and a new column for estimated_sd, a TRUE/FALSE flag for
whether the standard deviation has been estimated using the parameters
provided in sd_pars.