CRAN/E | metrica

metrica

Prediction Performance Metrics

Installation

About

A compilation of more than 80 functions designed to quantitatively and visually evaluate prediction performance of regression (continuous variables) and classification (categorical variables) of point-forecast models (e.g. APSIM, DSSAT, DNDC, supervised Machine Learning). For regression, it includes functions to generate plots (scatter, tiles, density, & Bland-Altman plot), and to estimate error metrics (e.g. MBE, MAE, RMSE), error decomposition (e.g. lack of accuracy-precision), model efficiency (e.g. NSE, E1, KGE), indices of agreement (e.g. d, RAC), goodness of fit (e.g. r, R2), adjusted correlation coefficients (e.g. CCC, dcorr), symmetric regression coefficients (intercept, slope), and mean absolute scaled error (MASE) for time series predictions. For classification (binomial and multinomial), it offers functions to generate and plot confusion matrices, and to estimate performance metrics such as accuracy, precision, recall, specificity, F-score, Cohen's Kappa, G-mean, and many more. For more details visit the vignettes .

Citation metrica citation info
adriancorrendo.github.io/metrica/
Bug report File report

Key Metrics

Version 2.0.3
R ≥ 3.6.0
Published 2023-04-14 368 days ago
Needs compilation? no
License MIT
License File
CRAN checks metrica results

Downloads

Yesterday 7 0%
Last 7 days 104 -38%
Last 30 days 475 +15%
Last 90 days 1.473 +29%
Last 365 days 4.769 +25%

Maintainer

Maintainer

Adrian A. Correndo

correndo@ksu.edu

Authors

Adrian A. Correndo

cre / cph

Adrian A. Correndo

aut

Luiz H. Moro Rosso

aut

Rai Schwalbert

aut

Carlos Hernandez

aut

Leonardo M. Bastos

aut

Luciana Nieto

aut

Dean Holzworth

aut

Ignacio A. Ciampitti

aut

Material

README
NEWS
Reference manual
Package source

In Views

Agriculture

Vignettes

Cheatsheet
JOSS_publication
Shinyapp
APSIM import files
Classification metrics
Regression metrics
Classification case
Regression case

macOS

r-devel

arm64

r-release

arm64

r-oldrel

arm64

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

metrica archive

Depends

R ≥ 3.6.0

Imports

stats
ggplot2
dplyr
rlang
tidyr
utils
DBI
RSQLite
ggpp
minerva
energy

Suggests

purrr
knitr
rmarkdown
apsimx
testthat ≥ 3.0.0