Offspring counts and proportional paternity by mating order for a breeding experiment of the rove beetle conducted by T Benken et al., (1999).
Usage
data(rove)
Format
A data frame with 17 observations on the following 4 variables.
Female
a numeric vector to identify females.
Total_Offspring
total number of offspring for the female.
P2
proportional paternity of the second male.
No_2nd_Male
number of offspring sired by the second male.
Source
T. Benken, A. Knaak, C. Gack, M. Eberle, and K. Peschke (1999) Variation of sperm precedence in the rove beetle, Aleochara curtula (Coleoptera: Staphylinidae), Behaviour136, 1065-1077.
Examples
#Fit rove beetle data to the normal distribution and test goodness of fit.
data(rove)
fit_dist_norm(rove$Total_Offspring)
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(ABCp2)
Loading required package: MASS
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/ABCp2/rove.Rd_%03d_medium.png", width=480, height=480)
> ### Name: rove
> ### Title: Sperm Precedence Data from the Rove Beetle
> ### Aliases: rove
> ### Keywords: datasets
>
> ### ** Examples
>
> #Fit rove beetle data to the normal distribution and test goodness of fit.
> data(rove)
> fit_dist_norm(rove$Total_Offspring)
$data_norm
[1] 39 70 20 55 49 41 65 58 31 36 44 42 28 52 38 43 63
$fit_norm
mean sd
39.294118 18.864111
( 4.575219) ( 3.235168)
$chi_norm
Pearson's Chi-squared test
data: dist and data_norm
X-squared = 238, df = 224, p-value = 0.2484
Warning message:
In chisq.test(dist, data_norm) : Chi-squared approximation may be incorrect
>
>
>
>
>
> dev.off()
null device
1
>