Skip to content

CARRoT

3.0.2

Predicting Categorical and Continuous Outcomes Using One in Ten Rule

0packages depend
3.5Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Alina BazarovaFirst published 2018-04-0610 releasesCRAN page ↗

Predicts categorical or continuous outcomes while concentrating on a number of key points. These are Cross-validation, Accuracy, Regression and Rule of Ten or "one in ten rule" (CARRoT), and, in addition to it R-squared statistics, prior knowledge on the dataset etc. It performs the cross-validation specified number of times by partitioning the input into training and test set and fitting linear/multinomial/binary regression models to the training set. All regression models satisfying chosen constraints are fitted and the ones with the best predictive power are given as an output. Best predictive power is understood as highest accuracy in case of binary/multinomial outcomes, smallest absolute and relative errors in case of continuous outcomes. For binary case there is also an option of finding a regression model which gives the highest AUROC (Area Under Receiver Operating Curve) value. The option of parallel toolbox is also available. Methods are described in Peduzzi et al. (1996) doi:10.1016/S0895-4356(96)00236-3 , Rhemtulla et al. (2012) doi:10.1037/a0029315, Riley et al. (2018) doi:10.1002/sim.7993, Riley et al. (2019) doi:10.1002/sim.7992.

Install

Health

CRAN checks
13OK
Slowest check: 1.1 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
95%
References docs
16%

Downloads

3.5K
CRAN downloads in the past year
Rank #11,639 · ~10/day · ~289/mo
Daily download trend is not available in this view yet.
22830 days
86090 days
3.5K1 year
Compare downloads with other packages →
Also on410 r2u33 autocran

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.4.0
Imports (7)
statsutilsnnetdoParallelRdpackparallelforeach
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Package Timeline

10 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 3.0.2Latest
    2023-10-13 · current release · diff ↗
  • 3.0.1
    2023-08-15 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 3.0.0
    2023-04-17 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2.5.2
    2021-06-08 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 2.5.1
    2020-05-14 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 2.5.0
    2020-03-26 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 2.0.0
    2019-03-07 · diff ↗
  • 1.5.0
    2018-11-27 · diff ↗
Show 4 earlier events
  • 1.0.0
    2018-06-30 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.0
    2018-04-06
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2018-04-06
Total releases
10 / 8 yrs
License
GPL-2 OSI
Minimum R
≥ 3.4.0
Download size
32 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("CARRoT")
Bazarova, A., & Raseta, M. (2023). CARRoT: Predicting Categorical and Continuous Outcomes Using One in Ten Rule (Version 3.0.2) [Computer software]. https://doi.org/10.32614/CRAN.package.CARRoT

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for CARRoT version 3.0.2 [Data set]. HJJB, LLC. Data release v2026-08-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy