find_optima {microbiome} | R Documentation |
Detect optima, excluding local optima below peak.threshold.
find_optima(f, peak.threshold = 0, bw = 1, min.density = 1)
f |
density |
peak.threshold |
Mode detection threshold |
bw |
bandwidth |
min.density |
Minimun accepted density for a maximum; as a multiple of kernel height |
A list with min (minima), max (maxima), and peak.threshold (minimum detection density)
Leo Lahti leo.lahti@iki.fi
See citation('microbiome')
## Not run: # Not exported o <- find_optima(rnorm(100), bw=1) ## End(Not run)