kvr2: Calculate and Compare Multiple Definitions of Coefficient of Determination

Calculate nine types of coefficients of determination (R-squared) based on the classification by Kvalseth (1985) <doi:10.1080/00031305.1985.10479448>. This package is designed for educational purposes to demonstrate how R-squared values can fluctuate depending on the choice of formula, particularly in power regression models or linear models without an intercept. By providing a comprehensive list of definitions, it helps users understand the mathematical sensitivity of goodness-of-fit indices.

Version: 0.1.0
Imports: stats
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-02-12
DOI: 10.32614/CRAN.package.kvr2 (may not be active yet)
Author: Mao Kobayashi [aut, cre]
Maintainer: Mao Kobayashi <kobamao.jp at gmail.com>
BugReports: https://github.com/indenkun/kvr2/issues
License: MIT + file LICENSE
URL: https://github.com/indenkun/kvr2, https://indenkun.github.io/kvr2/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: kvr2 results

Documentation:

Reference manual: kvr2.html , kvr2.pdf
Vignettes: The Pitfalls of R-squared: Understanding Mathematical Sensitivity (source, R code)

Downloads:

Package source: kvr2_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): kvr2_0.1.0.tgz, r-oldrel (arm64): kvr2_0.1.0.tgz, r-release (x86_64): not available, r-oldrel (x86_64): kvr2_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=kvr2 to link to this page.