Package: kvr2 0.2.0.9000
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.
Authors:
kvr2_0.2.0.9000.tar.gz
kvr2_0.2.0.9000.zip(r-4.7)kvr2_0.2.0.9000.zip(r-4.6)kvr2_0.2.0.9000.zip(r-4.5)
kvr2_0.2.0.9000.tgz(r-4.6-any)kvr2_0.2.0.9000.tgz(r-4.5-any)
kvr2_0.2.0.9000.tar.gz(r-4.7-any)kvr2_0.2.0.9000.tar.gz(r-4.6-any)
kvr2_0.2.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
kvr2/json (API)
NEWS
| # Install 'kvr2' in R: |
| install.packages('kvr2', repos = c('https://indenkun.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/indenkun/kvr2/issues
Pkgdown/docs site:https://indenkun.github.io
Last updated from:5df8d5dc85. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 144 | ||
| source / vignettes | OK | 194 | ||
| linux-release-x86_64 | OK | 144 | ||
| macos-release-arm64 | OK | 159 | ||
| macos-oldrel-arm64 | OK | 167 | ||
| windows-devel | OK | 87 | ||
| windows-release | OK | 93 | ||
| windows-oldrel | OK | 80 | ||
| wasm-release | OK | 97 |
Exports:comp_fitcomp_modelMAEmodel_infoMSEplot_diagnosticplot_kvr2r2r2_1r2_2r2_3r2_4r2_5r2_6r2_7r2_8r2_9r2_adjustedRMSE
Dependencies:clicpp11dplyrfarvergenericsggplot2gluegtableinsightisobandlabelinglifecyclemagrittrpillarpkgconfigpurrrR6RColorBrewerrlangS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Calculate Comparative Fit Measures for Regression Models | comp_fit MAE MSE RMSE |
| Contrast R-squared Definitions: Intercept vs. No-Intercept | comp_model |
| Get Model Information Used for Calculations | model_info |
| Plot Observed vs Predicted Values | plot_diagnostic |
| Plot Method for Kvalseth's R-squared Objects | plot_kvr2 |
| Plot Comparison of Model Specifications | plot.comp_model |
| Plot Method for r2_kvr2 Objects | plot.r2_kvr2 |
| Print Method for Model Comparison Objects | print.comp_model |
| Print Methods for r2 and comp_fit calculation Objects | print.comp_kvr2 print.r2_kvr2 |
| Calculate Multiple Definitions of Coefficient of Determination (R-squared) | r2 r2_1 r2_2 r2_3 r2_4 r2_5 r2_6 r2_7 r2_8 r2_9 |
| Calculate the Adjusted Determination Coefficient | r2_adjusted |
