
Chick mortality as a result of adults not attending the nest
calc_unattendmortality.RdIf a chick is left alone at the nest, there is an increased risk of death from predation etc. This function takes the chicks who are not fully attended by the adults, calculates the probability of death and then uses rbinom to remove some of those chicks.