Given a density object, find the position of local maxima (inflection points)
a vector of density values, as generated through a call to
a vector of index corresponding to local maxima
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.