shifts.list_to_vector: Compute the vector of shifts.

View source: R/shifts_manipulations.R

shifts.list_to_vectorR Documentation

Compute the vector of shifts.

Description

shifts.list_to_vector takes the list description of the shifts to give the vectorial representation of the shifts : the b th element of the vector has the value of the shift occurring on that branch b.

Usage

shifts.list_to_vector(phy, shifts)

Arguments

phy

Input tree.

shifts

: list description of the shifts : shifts$edges, shifts$values

Value

Vector of length nbranch.

See Also

shifts.vector_to_list


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