nodeToLeafCoefficients: Node coefficients to leaf coefficients

Description Usage Arguments Value

View source: R/treeda-functions.R

Description

General-purpose function for going from a coefficient vector on the nodes to a coefficient vector on the leaves.

Usage

1
nodeToLeafCoefficients(coef.vec, tree)

Arguments

coef.vec

A vector containing coefficients on internal nodes plus leaves.

tree

The phylogenetic tree.

Value

A vector containing coefficients on the leaves.


treeDA documentation built on May 15, 2021, 1:07 a.m.