Other packages > Find by keyword >

metrica  

Prediction Performance Metrics
View on CRAN: Click here


Download and install metrica package within the R console
Install from CRAN:
install.packages("metrica")

Install from Github:
library("remotes")
install_github("cran/metrica")

Install by package version:
library("remotes")
install_version("metrica", "2.1.0")



Attach the package and use:
library("metrica")
Maintained by
Adrian A. Correndo
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2022-05-12
Latest Update: 2024-06-30
Description:
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 .
How to cite:
Adrian A. Correndo (2022). metrica: Prediction Performance Metrics. R package version 2.1.0, https://cran.r-project.org/web/packages/metrica. Accessed 22 Jul. 2026.
Previous versions and publish date:
(2026-07-09 06:29), 1.2.3 (2022-05-12 10:40), 2.0.0 (2022-07-05 09:30), 2.0.1 (2022-07-24 09:20), 2.0.2 (2023-04-03 00:30), 2.0.3 (2023-04-14 06:50), 2.1.0 (2024-06-30 16:20)
Other packages that cited metrica R package
View metrica citation profile
Other R packages that metrica depends, imports, suggests or enhances
Complete documentation for metrica
Functions, R codes and Examples using the metrica R package
Some associated functions: AC . AUC_roc . B0_sma . B1_sma . CCC . E1 . Erel . KGE . LCS . MAE . MAPE . MASE . MBE . MIC . MLA . MLP . MSE . NSE . PAB . PBE . PLA . PLP . PPB . R2 . RAC . RAE . RMAE . RMLA . RMLP . RMSE . RRMSE . RSE . RSR . RSS . SB . SDSD . SMAPE . TSS . Ub . Uc . Ue . Xa . accuracy . agf . balacc . barley . bland_altman_plot . bmi . chickpea . confusion_matrix . csi . d . d1 . d1r . dcorr . deltap . density_plot . error_rate . fmi . fscore . gmean . import_apsim_db . import_apsim_out . iqRMSE . khat . lambda . land_cover . likelihood_ratios . maize_phenology . mcc . metrica-package . metrics_summary . npv . precision . prevalence . r . recall . scatter_plot . sorghum . specificity . tiles_plot . uSD . var_u . wheat . 
Some associated R codes: class_AUC_roc.R . class_accuracy.R . class_agf.R . class_balacc.R . class_bmi.R . class_confusion_matrix.R . class_csi.R . class_deltap.R . class_error_rate.R . class_fmi.R . class_fscore.R . class_gmean.R . class_khat.R . class_likelihood_ratios.R . class_mcc.R . class_npv.R . class_precision.R . class_prevalence.R . class_recall.R . class_specificity.R . data.R . import_apsim_db.R . import_apsim_out.R . metrica-package.R . metrics_summary.R . plot_bland_altman.R . plot_density.R . plot_scatter.R . plot_tiles.R . reg_AC.R . reg_B0_sma.R . reg_B1_sma.R . reg_CCC.R . reg_E1.R . reg_Erel.R . reg_KGE.R . reg_LCS.R . reg_MAE.R . reg_MAPE.R . reg_MASE.R . reg_MBE.R . reg_MIC.R . reg_MLA.R . reg_MLP.R . reg_MSE.R . reg_NSE.R . reg_PAB.R . reg_PBE.R . reg_PLA.R . reg_PLP.R . reg_PPB.R . reg_R2.R . reg_RAC.R . reg_RAE.R . reg_RMAE.R . reg_RMLA.R . reg_RMLP.R . reg_RMSE.R . reg_RRMSE.R . reg_RSE.R . reg_RSR.R . reg_RSS.R . reg_SB.R . reg_SDSD.R . reg_SMAPE.R . reg_TSS.R . reg_Ub.R . reg_Uc.R . reg_Ue.R . reg_Xa.R . reg_d.R . reg_d1.R . reg_d1r.R . reg_dcorr.R . reg_iqRMSE.R . reg_lambda.R . reg_r.R . reg_uSD.R . reg_var_u.R .  Full metrica package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
loon  
Interactive Statistical Data Visualization
An extendable toolkit for interactive data visualization and exploration. ...
Download / Learn more Package Citations See dependency  
ISOweek  
Week of the year and weekday according to ISO 8601
This is an substitute for the %V and %u formats which are not implemented on Windows. In addition, ...
Download / Learn more Package Citations See dependency  
bayesmeta  
Bayesian Random-Effects Meta-Analysis and Meta-Regression
A collection of functions allowing to derive the posterior distribution of the model parameters in r ...
Download / Learn more Package Citations See dependency  
CTM  
A Text Mining Toolkit for Chinese Document
The CTM package is designed to solve problems of text mining and is specific for Chinese document. ...
Download / Learn more Package Citations See dependency  

27,889

R Packages

239,283

Dependencies

74,019

Author Associations

27,890

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA