To cite r2mlm in publications use:

Shaw M, Rights J, Sterba S, Flake J (2020). “r2mlm: R-Squared Measures for Multilevel Models.” doi:10.31234/osf.io/xc4sv, in-progress, https://psyarxiv.com/xc4sv/.

Corresponding BibTeX entry:

  @Unpublished{,
    title = {r2mlm: R-Squared Measures for Multilevel Models},
    author = {Mairead Shaw and Jason D. Rights and Sonya K. Sterba and
      Jessica K. Flake},
    year = {2020},
    doi = {10.31234/osf.io/xc4sv},
    url = {https://psyarxiv.com/xc4sv/},
    note = {in-progress},
  }