boot.ppfis: Performs bootstrapping over loci of population's Fis

Description Usage Arguments Value Author(s) Examples

View source: R/ppboot.R

Description

Performs bootstrapping over loci of population's Fis

Usage

1
boot.ppfis(dat=dat,nboot=100,quant=c(0.025,0.975),diploid=TRUE,dig=4,...)

Arguments

dat

a genetic data frame

nboot

number of bootstraps

quant

quantiles

diploid

whether diploid data

dig

digits to print

...

further arguments to pass to the function

Value

call

function call

fis.ci

Bootstrap ci of Fis per population

Author(s)

Jerome Goudet jerome.goudet@unil.ch

Examples

1
2
dat<-sim.genot(nbpop=4,nbloc=20,nbal=10,f=c(0,0.2,0.4,0.6))
boot.ppfis(dat)

Example output

$call
boot.ppfis(dat = dat)

$fis.ci
       ll     hl
1 -0.0652 0.0189
2  0.1279 0.2237
3  0.3410 0.4342
4  0.5842 0.6375

hierfstat documentation built on Nov. 17, 2021, 5:08 p.m.