What kind of distance are you after? , in case for simple Euclidean distance you can try
ED <- dist(as.matrix(gl)-1) #you want centre around zero
#check via
gl.plot.heatmap(ED)
--
You received this message because you are subscribed to the Google Groups "dartR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
dartr+un...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/dartr/274000e8-74e2-4ee9-b5a3-f14a74aa0f2an%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "dartR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dartr+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dartr/b8939242-90d0-466a-a121-4dc308bb03a3n%40googlegroups.com.