nodeToLeafCoefficients {treeDA}R Documentation

Node coefficients to leaf coefficients

Description

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

Usage

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.


[Package treeDA version 0.0.5 Index]