Description Usage Arguments Value Examples
Default function to govern behavior of warners under attack.
Warner warns a specified number of the most closely-related
individuals. May be used as an alternative function in which
the values of warnable_relationship
and dominant
are specified.
1 2 3 | warnRelativesGraph(individuals, number_warned, warner_death_prob,
nonwarner_death_prob, hider_death_prob, order = 2, relGraph,
dominant = FALSE)
|
individuals |
Data frame containing id, sex, warner-status, mother id and father id. Value provided. |
number_warned |
Maximum number of individuals to warn. Value provided. |
warner_death_prob |
As in |
nonwarner_death_prob |
As in |
hider_death_prob |
As in |
order |
Maximum distance a relative can have and still be warned. |
relGraph |
The current relationship graph. Value provided. |
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 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.