compute_shifts_from_betas: Computation of shifts from the vector of optimal values

View source: R/shifts_manipulations.R

compute_shifts_from_betasR Documentation

Computation of shifts from the vector of optimal values

Description

compute_shifts_from_betas computes the list of shifts corresponding to the vector of optimal values on nodes.

Usage

compute_shifts_from_betas(phylo, betas)

Arguments

phylo

a phylogenetic tree, class phylo.

betas

vector of size (ntaxa + Nnode) of the optimal values at each node and tip.

Details

This function uses function fun on each row of matrix of edges.

Value

vector of shifts.


pbastide/PhylogeneticEM documentation built on Feb. 12, 2024, 1:27 a.m.