View source: R/shifts_manipulations.R
incidence_matrix_actualization_factors | R Documentation |
incidence_matrix_actualization_factors
computes a ntaxa x Nedge matrix of the
(1 - exp(-alpha * (t_i - t_pa(j) - nu_j * l_j)))_{i tip, j node}.
This matrix is to be multiplied to the incidence matrix with an outer product.
incidence_matrix_actualization_factors(
tree,
selection.strength,
relativeTimes_tree = 0,
times_shared = compute_times_ca(tree)
)
tree |
a phylogenetic tree. |
selection.strength |
the selection strength of the process. |
relativeTimes_tree |
a Nedge vector of relative times associated with the branches. |
times_shared |
a matrix, result of function |
Matrix of size ntaxa x Nedge
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.