make_sdm: Make a Super Distance Matrix (SDM) from a list of good...

View source: R/datelife_sdm.R

make_sdmR Documentation

Make a Super Distance Matrix (SDM) from a list of good matrices obtained with get_goodmatrices()

Description

Make a Super Distance Matrix (SDM) from a list of good matrices obtained with get_goodmatrices()

Usage

make_sdm(unpadded.matrices, weighting = "flat")

Arguments

unpadded.matrices

A list of patristic matrices, a datelifeResult object.

weighting

A character vector indicating how much weight to give to each tree in input during the SDM analysis. Options are:

weighting = "flat"

All trees have equal weighting.

weighting = "taxa"

Weight is proportional to number of taxa.

weighting = "inverse"

Weight is proportional to 1 / number of taxa.

Defaults to weighting = "flat".

Value

A matrix.


datelife documentation built on July 10, 2023, 2:02 a.m.