Description Usage Arguments Value References See Also Examples
Calculates weighted geometric mean (see references). Note
if p=rep(1, nrow(y))
(default) then this is just the
geometric mean of rows.
1 | g.rowMeans(y, p = rep(1, nrow(y)))
|
y |
shifted data matrix (e.g., output of shiftp) |
p |
weights (should not be closed) |
vector (weighted geometric mean of rows)
J. J. Egozcue, V. Pawlowsky-Glahn (2016) Changing the Reference Measure in the Simplex and its Weighting Effects. Austrian Journal of Statistics 45(4):25-44
1 2 3 4 5 |
[1] 0.3010108 0.3021754 0.2815642 0.2912226 0.3005560 0.3163703 0.3129729
[8] 0.3038387 0.2850835 0.2632350
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.