powered by
Calculates the geometric mean of a vector.
geometric.mean(x)
a numeric vector.
# NOT RUN { x <- rlnorm(100) mean(x) median(x) geometric.mean(x) # }
Run the code above in your browser using DataLab