boot.ia: Bootstrap the index of association

View source: R/ia_jackknife.R

boot.iaR Documentation

Bootstrap the index of association


This function will perform the index of association on a bootstrapped data set multiple times to create a distribution, showing the variation of the index due to repeat observations.


boot.ia(gid, how = "partial", reps = 999, quiet = FALSE, ...)



a genind or genclone object


method of bootstrap. The default how = "partial" will include all the unique genotypes and sample with replacement from the unique genotypes until the total number of individuals has been reached. Using how = "full" will randomly sample with replacement from the data as it is. Using how = "psex" will sample from the full data set after first weighting the samples via the probability of encountering the nth occurence of a particular multilocus genotype. See psex() for details.


an integer specifying the number of replicates to perform. Defaults to 999.


a logical. If FALSE, a progress bar will be displayed. If TRUE, the progress bar is suppressed.


options passed on to psex()


a data frame with the index of association and standardized index of association in columns. Number of rows represents the number of reps.


This function is experimental. Please do not use this unless you know what you are doing.

See Also

ia(), pair.ia(), psex()


boot.ia(Pinf, reps = 99)

poppr documentation built on May 29, 2024, 5:54 a.m.