find_modes: Find modes of a distribution
Description
Find modes of a distribution
Usage
find_modes(anc, node, mode_proba_method = "integral")
Value
a list, with opt_vals
the abscissa values where the distribution is maximum,
and prop_vals
the approximate density under each optimal value, normalized to sum to one.
Arguments
- anc
an object of class ancestralCauchy
- node
a vector of node number in the tree