Learn R Programming

ABCp2 (version 1.2)

soap: Sperm Precedence Data from the Soapberry Bug

Description

Offspring counts and proportional paternity by mating order for a breeding experiment of the soapberry bug conducted by SP Carroll (1991).

Usage

data(soap)

Arguments

Format

A data frame with 18 observations on the following 4 variables.
Female
a numeric vector to identify females.
P2
proportional paternity of the second male.
Total_Offspring
total number of offspring for the female.
No_2nd_Male
number of offspring sired by the second male.

Source

S. P. Carroll (1991) The adaptive significance of mate guarding in the soapberry bug, Jadera haematoloma (Hemiptera: Rhopalidae), Journal of Insect Behavior, 4, 509-530.

Examples

Run this code
#Fit soapberry bug data to the normal distribution and test goodness of fit.
data(soap)
fit_dist_norm(soap$Total_Offspring)

Run the code above in your browser using DataLab