plot_winner_prob {aniDom} | R Documentation |
Plot the shape of the hierarchy given some input parameters
Description
A simple function that provides visualisations of the shape of the hierarchy given parameters a and b in the generate_interactions
function
Usage
plot_winner_prob(diff.rank, a, b)
Arguments
diff.rank |
A vector containing the x values of the plot (i.e. differences in rank). |
a |
Parameter a (see |
b |
Parameter b (see |
Details
A simple plotting function to visualise the shapes of curves in the generate_interactions
function.
Value
Generates a plot. No data is returned.
Author(s)
Written by Damien R. Farine & Alfredo Sanchez-Tojar
Maintainer: Damien R. Farine <damien.farine@ieu.uzh.ch>
References
Sanchez-Tojar, A., Schroeder, J., Farine, D.R. (in prep) Methods for inferring dominance hierarchies and estimating their uncertainty.
Examples
# Set population size
N <- 10
# Set shape parameters
a = 15
b = 3
# Plot the shape
plot_winner_prob(1:10,a,b)
[Package aniDom version 0.1.5 Index]