find_modes: Find modes of a distribution

View source: R/plot_asr.R

find_modesR Documentation

Find modes of a distribution

Description

Find modes of a distribution

Usage

find_modes(anc, node, mode_proba_method = "integral")

Arguments

anc

an object of class ancestralCauchy

node

a vector of node number in the tree

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.


cauphy documentation built on Oct. 1, 2024, 5:08 p.m.