R言語の幾何平均数、調和平均数、平方平均数


平方平均数が最も実現しやすい

, NA

geometry.mean  
  

: http://stackoverflow.com/questions/2602583/geometric-mean-is-there-a-built-in


psych geometric.mean


http://personality-project.org/r/html/geometric.mean.html


harmonic.mean, lmomco psych

length(a)/sum(1/a)

http://personality-project.org/r/psych/help/harmonic.mean.html
http://www.inside-r.org/packages/cran/lmomco/docs/harmonic.mean
library(ggplot2)
library(reshape2)
# Function to calculate the harmonic mean
harmonicMean  
  

http://economistatlarge.com/r-guide/arithmetic-harmonic-geometric-means-r