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 |
| Reference manual: | kvr2.html , kvr2.pdf |
| Vignettes: |
The Pitfalls of R-squared: Understanding Mathematical Sensitivity (source, R code) |
| 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): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=kvr2 to link to this page.