jacknife_populations {mmod} | R Documentation |
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).
jacknife_populations(x, sample_frac = 0.5, nreps = 1000)
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) |
a list of genind objects to be further processed
Other resample: chao_bootstrap
,
summarise_bootstrap
## Not run:
data(nancycats)
obs <- diff_stats(nancycats)
jn <- jacknife_populations(nancycats)
jn.D <- summarise_bootstrap(jn, D_Jost)
## End(Not run)