R/shifts_manipulations.R
compute_shifts_from_betas.Rd
compute_shifts_from_betas
computes the list of shifts corresponding
to the vector of optimal values on nodes.
compute_shifts_from_betas(phylo, betas)
a phylogenetic tree, class phylo
.
vector of size (ntaxa + Nnode) of the optimal values at each node and tip.
vector of shifts.
This function uses function fun on each row of matrix of edges.