View source: R/numericFunctions.R
smooth_extremum | R Documentation |
Compute a smooth differentiable approximation to the minimum or maximum of a numeric vector
smooth_extremum(x, type = NULL, alpha = 4)
x |
A numeric vector. |
type |
Character |
alpha |
A numeric smoothing parameter ( |
An approximation to the minimum or maximum of x
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.