R/gl.propShared.r
gl.propShared.Rd
This script calculates an individual based distance matrix. It uses an C++ implementation, so package Rcpp needs to be installed and it is therefore really fast (once it has compiled the function after the first run).
gl.propShared(x)
A similarity matrix
#takes some time at the first run of the function...
if (FALSE) { # \dontrun{
res <- gl.propShared(bandicoot.gl)
res[1:5,1:7] #show only a small part of the matrix
} # }