EcoGenetics (version 1.2.1-5)

eco.nei_dist: Estimate Nei distance matrix

Description

Estimate Nei distance matrix. NAs are avoided.

Usage

eco.nei_dist(obj, as_dist = TRUE)

Arguments

obj

ecopop or genpop objects, or matrix/data frame with allele frequencies

as_dist

Return a dist object or a matrix? default is an object of class "dist"

Examples

Run this code
# NOT RUN {
data(eco.test)
eco.nei_dist(my_ecopop)
# }

Run the code above in your browser using DataLab