To cite rr2 in publications use:

Anthony R. Ives (2018). R^2s for Correlated Data: Phylogenetic Models, LMMs, and GLMMs. Systematic Biology, syy060. https://doi.org/10.1093/sysbio/syy060

Anthony R. Ives and Daijiang Li (2018). rr2: An R package to calculate R^2s for regression models. The Journal of Open Source Software, 3(30), 1028. https://doi.org/10.21105/joss.01028

Corresponding BibTeX entries:

  @Article{,
    title = {R^2s for Correlated Data: Phylogenetic Models, LMMs, and
      GLMMs},
    author = {Anthony R. Ives},
    journal = {Systematic Biology},
    year = {2018},
    pages = {syy060},
    url = {https://doi.org/10.1093/sysbio/syy060},
  }
  @Article{,
    title = {rr2: An R package to calculate R^2s for regression
      models},
    author = {Anthony R. Ives and Daijiang Li},
    journal = {The Journal of Open Source Software},
    year = {2018},
    volume = {3},
    number = {30},
    pages = {1028},
    url = {https://doi.org/10.21105/joss.01028},
  }