Lenth, Russell V. “Least-Squares Means: The R Package Lsmeans”.
Journal of Statistical Software
, vol. 69, no. 1, Jan. 2016, pp. 1-33, doi:10.18637/jss.v069.i01.