boot.ppbetas: Estimates bootstrap confidence intervals for pairwise betas...

View source: R/ppboot.R

boot.ppbetasR Documentation

Estimates bootstrap confidence intervals for pairwise betas FST estimates

Description

Estimates bootstrap confidence intervals for pairwise betas FST estimates.

Usage

boot.ppbetas(dat=dat,nboot=100,quant=c(0.025,0.975),diploid=TRUE,digits=4)

Arguments

dat

A data frame containing population of origin as the first column and multi-locus genotypes in following columns

nboot

the number of bootstrap samples to draw

quant

the limit of the confidence intervals

diploid

whether the data is from a diploid (default) or haploid organism

digits

how many digits to print out

Value

a matrix with upper limit of the bootstrap CI above the diagonal and lower limit below the diagonal

See Also

betas pairwise.betas

Examples

## Not run: 
data(gtrunchier)
boot.ppbetas(gtrunchier[,-2])

## End(Not run)

jgx65/hierfstat documentation built on April 20, 2023, 8:34 a.m.