SexualSelection: Sexual Conflict

SexualSelectionR Documentation

Sexual Conflict

Description

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).

Usage

SexualSelection

Format

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

Source

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.

References

http://www.ncbi.nlm.nih.gov/pmc/articles/PMC27046/

Examples


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)


kmiddleton/abd documentation built on April 24, 2024, 12:17 p.m.