Last chance! 50% off unlimited learning
Sale ends in
ia(pop, sample = 0, method = 1, quiet = "minimal",
missing = "ignore", hist = TRUE)
genind
object OR any fstat,
structure, gentix, genpop, or genalex formatted files.popsample
for
details. TRUE
prints nothing.
FALSE
same as "minimal".
"minimal"
(defualt) will print the population name
and dots indicating
missingno
for details.logical
if TRUE
, a histogram
will be printed for each population if there is
sampling.A named number vector of length 2 giving the Index of Association, "Ia"; and the Standardized Index of Association, "rbarD"
If there is sampling:
A a named number vector of length 4 with the following values:
poppr
, missingno
,
import2genind
, read.genalex
,
clonecorrect
data(nancycats)
ia(nancycats)
# Get the index for each population.
lapply(seppop(nancycats), ia)
# With sampling
lapply(seppop(nancycats), ia, sample=999)
Run the code above in your browser using DataLab