Skip to contents

SMR is an R packago aim to compute studentized normal midrange distribution. In 2017, this distribution was published in the Revista Ciência e Agrotecnologia. This work was developed during the master in Statistics and Agricultural Experimentation, by the Federal University of Lavras (UFLA/BRAZIL). The authors of this work are Professor Daniel Furtado Ferreira and Ben Dêivide de Oliveira Batista, Professor of Statistics at the Federal University of São João del-Rei (UFSJ/BRAZIL). Today, we have the collaboration of a student of scientific initiation, Diego Arthur Bispo Justino de Oliveira, student of Mechatronics Engineering at UFSJ and Matheus Fernando Rodrigues Santos, student of Mechatronics Engineering at UFSJ. The package was published in 2014 in R journal


To install the SMR package via CRAN:

To install via GitHub:



The package follows the same structure as the probability functions implemented in R. That is: the probability density function (dSMR), the cumulative distribution function (pSMR), the quantile function (qSMR) and the random number generating function (rSMR). The pseudocodes and illustrative examples of how to use the package are presented.


To cite this work use:

  author = {Ben Dêivide Oliveira Batista and Daniel Furtado Ferreira},
  title = {{SMR: An R package for computing the externally studentized
          normal midrange distribution}},
  year = {2014},
  journal = {{The R Journal}},
  doi = {10.32614/RJ-2014-029},
  url = {},
  pages = {123--136},
  volume = {6},
  number = {2}


For a complete description of the SMR package, visit our website at


  • Version 2.0.2 (Under development):

  • Version 2.0.0 (2014-10-16):

  • Version 2.0.0 (2014-10-16):

  • Version 1.0.0 (2012-10-19): Functions implemented: dSMR, pSMR, qSMR and rSMR.