Description Usage Arguments Value Examples
Example of an alternative function to govern behavior of warners
under attack. User must set values of number_warned
and
dominant
.
Warner warns a specified number of the most closely-related
individuals. Warners only warn other warners.
1 2 | warnWarners(individuals, number_warned, warner_death_prob, nonwarner_death_prob,
hider_death_prob, dominant)
|
individuals |
Data frame containing id, sex, warner-status, mother id and father id.Value provided. |
number_warned |
Maximum number of individuals to warn. |
warner_death_prob |
As in |
nonwarner_death_prob |
As in |
hider_death_prob |
As in |
dominant |
If |
A numerical vector of death probabilities in which the
i^{\text{th}} element corresponds to row i of
individuals
.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.