powered by
ia(pop, sample = 0, method = 1, quiet = "minimal", missing = "ignore", hist = TRUE)
genind
popsample
TRUE prints nothing.
TRUE
FALSE same as "minimal".
FALSE
"minimal" (defualt) will print the population name and dots indicating
"minimal"
missingno
logical
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
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