Fills missing entries from incomplete distance matrix using the additive or the ultrametric procedure (see reference for details).
additive(X)
ultrametric(X)
a distance matrix or an object of class "dist"
.
a distance matrix.
Makarenkov, V. and Lapointe, F.-J. (2004) A weighted least-squares approach for inferring phylogenies from incomplete distance matrices. Bioinformatics, 20, 2113--2121.