Create jacknife samples of a genind object by population

Usage

jacknife_populations(x, sample_frac = 0.5, nreps = 1000)

Arguments

x
genind object (from package adegenet)
sample_frac
fraction of pops to sample in each replication (default 0.5)
nreps
number of jacknife replicates to run (default 1000)

Value

a list of genind objects to be further processed

Description

Makes a series of jacknife samples across populations from a genind object. This function returns a list of genind objects that can then be further processed (see examples below).

Examples

## Not run: # data(nancycats)# obs <- diff_stats(nancycats)# jn <- jacknife_populations(nancycats)# jn.D <- summarise_bootstrap(jn, D_Jost)# ## End(Not run)

See also

Other resample: chao_bootstrap, summarise_bootstrap