chainmode | R Documentation |
Returns estimated mode of a density computed from samples.
chainmode( chain , ... )
chain |
Values, e.g. sampled from a posterior via MCMC |
... |
Optional arguments passed to density calculation |
This function just finds the x value that maximizes the y density in the density estimate.
Richard McElreath
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.