View source: R/fonctionsStat.R
gen.fCI | R Documentation |
Returns the confidence interval of the average inbreeding among specified individuals
gen.fCI(vectF, prob=c(0.025,0.05,0.95,0.975), b="5000", print.it=FALSE)
vectF |
A vector of inbreeding coefficients obtained for example with gen.f. Required. |
prob |
Confidence limits probabilities. Default is probs=c(0.025, 0.05, 0.95, 0.975). |
b |
Number of simulations used to calculate the confidence interval. Default is b="5000". |
print.it |
If print.it=FALSE (default), progression in the number of simulations performed is not displayed. |
A vector or a GLmultiVector object depending on the type of 'vectF' entered. If 'vectF' is a GLmultiVector, an array of vectors (GLmultiVector), one for each depth, is returned. Array of size ('depthMax'-'depthMin'), vectors of size 'length(probs)'. If 'vectF' is a GLmultiVector, a vector of size 'length(probs)' is returned.
gen.f
data(genea140)
gen140<-gen.genealogy(genea140)
gen10 <-gen.branching(gen140, pro=gen.pro(gen140)[c(1:10)])
fval<-gen.f(gen10)
gen.fCI(fval)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.