Offspring counts and proportional paternity by mating order for a breeding experiment of the fungus beetle conducted by JK Conner (1995).
Usage
data(fungus)
Format
A data frame with 12 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
J. K. Conner (1995) Extreme variability in sperm precedence in the fungus beetle, Bolitotherus cornutus (Coleoptera Tenebrionidae), Ethology Ecology & Evolution7, 277-280.
Examples
#Fit fungus beetle data to the normal distribution and test goodness of fit.
data(fungus)
fit_dist_norm(fungus$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/fungus.Rd_%03d_medium.png", width=480, height=480)
> ### Name: fungus
> ### Title: Sperm Precedence Data from the Fungus Beetle
> ### Aliases: fungus
> ### Keywords: datasets
>
> ### ** Examples
>
> #Fit fungus beetle data to the normal distribution and test goodness of fit.
> data(fungus)
> fit_dist_norm(fungus$Total_Offspring)
$data_norm
[1] 33 25 25 21 31 20 7 15 14 10 28 26
$fit_norm
mean sd
14.333333 10.330645
( 2.982200) ( 2.108734)
$chi_norm
Pearson's Chi-squared test
data: dist and data_norm
X-squared = 67, df = 60, p-value = 0.2495
Warning message:
In chisq.test(dist, data_norm) : Chi-squared approximation may be incorrect
>
>
>
>
>
>
> dev.off()
null device
1
>