R: Compute Matrix W of actualization (Ultrametric case)

compute_actualization_matrix_ultrametric {PhylogeneticEM} | R Documentation

## Compute Matrix W of actualization (Ultrametric case)

### Description

`compute_actualization_matrix_ultrametric` computes a squares p*nedges bloc diagonal matrix of the (I_p - exp(-A * (h - t_pa(j))))_j node.

### Usage

    compute_actualization_matrix_ultrametric(tree, selection.strength,
      times_shared = compute_times_ca(tree))

### Arguments

`tree` | a phylogenetic tree.
`selection.strength` | the selection strength of the process.
`times_shared` | a matrix, result of function `compute_times_ca`.

### Details

Careful: the root is not taken into account in this function.

### Value

Matrix of size p*nedges

[Package PhylogeneticEM version 1.1.0 Index]