Description Usage Format Source References Examples
Number of species in each of two taxa in closely related taxon
pairings and the difference between the two groups. One taxon has multiple
matings (polyandrous.species
) and one has only single matings
(monandrous.species
).
1 |
A data frame with 25 observations on the following 4 variables.
polyandrous.species
a numeric vector
monandrous.species
a numeric vector
difference
a numeric vector
taxon.pair
identifier
Arnqvist, G., M. Edvardsson, U. Friberg, and T. Nilsson. 2000. Sexual conflict promotes speciation in insects. Proceedings of the National Academy of Sciences (USA) 97: 10460-10464.
http://www.egs.uu.se/evbiol/Persons/Urban/1.pdf
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | data(SexualSelection)
SexualSelection
histogram(~ difference, SexualSelection, n = 20)
hist(SexualSelection$difference, breaks = 20)
# Calculate the number of tests and the number of negative tests
(n <- length(SexualSelection$difference))
(n.neg <- sum(SexualSelection$difference < 0))
2 * pbinom(q = n.neg, size = n, prob = 0.5)
# With a binomial test
binom.test(n.neg, n, p = 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.