Description Usage Arguments Value Examples
An internal function of binomPower, which actually calculates the p value.
1 | simPower(ndads,mm,vv,tau2,nperms,nbins)
|
ndads |
a (non-empty) numeric value indicating the number of dads. |
mm |
a (non-empty) numeric value indicating the mean number of offspring per dad per bin (normal dist). mm must be less than vv. |
vv |
a (non-empty) numeric value indicating the variance in offspring per dad per bin (normal dist). vv must be great than mm. |
tau2 |
a (non-empty) numeric value indicating the dad effect (narrow-sense heritability ~ tau2/(tau2+(pi/sqrt(3))^2)). |
nperms |
a (non-empty) numeric value indicating the number of bootstrap permutations to use for caluclating a p value. |
nbins |
a (non-empty) numeric value indicating the number of bins, data are pooled before analysis. |
Returns a p value for a given set of conditions over a specificed number of bootstrap permutations.
1 | #not run
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.