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.


jfukuyama/treeDA documentation built on May 18, 2021, 8:52 a.m.