powered by
harmonic_mean(x, na.rm = TRUE)
data(nancycats) pop.sizes <- table(pop(nancycats)) harmonic_mean(pop.sizes)
Run the code above in your browser using DataLab