View source: R/094_atoms_geo_mean.R
| geo_mean | R Documentation |
(Weighted) geometric mean of a vector
geo_mean(x, p = NULL, max_denom = 1024L, approx = TRUE)
x |
An Expression (vector) |
p |
Numeric weight vector (default: uniform) |
max_denom |
Maximum denominator for rational approximation |
approx |
If TRUE (default), use SOC approximation. If FALSE, use exact power cone. |
A GeoMean or GeoMeanApprox atom
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.