Skip to contents

Geometric means by matrix column

Usage

col_geom_means(x)

Arguments

x

A matrix

Value

Vector with column geometric means

Examples

m <- matrix(1:6, nrow = 2, dimnames = list(NULL, c("a", "b", "c")))
col_geom_means(m)
#>        a        b        c 
#> 1.414214 3.464102 5.477226