Description Usage Arguments Details Value See Also
Create a function to calculate a generalized mean.
1 |
p |
Exponent of the generalized mean. |
Returns a function to calculate the generalized mean with exponent p
(i.e., the weighted mean of x
to the power of p
, all raised to the power of 1/p
).
The return value is a function of weighted.mean
, unless p
= -Inf or p
= Inf, in which case it is a function of min/max.
A function.
See geomean
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.