Ordinal Forests: Prediction and Variable Ranking with Ordinal Target Variables
Overview
The ordinal forest (OF) method allows ordinal regression with high-dimensional and low-dimensional data. After having constructed an OF prediction rule using a training dataset, it can be used to predict the values of the ordinal target variable for new observations. Moreover, by means of the (permutation-based) variable importance measure of OF, it is also possible to rank the covariates with respect to their importance in the prediction of the values of the ordinal target variable. OF is presented in Hornung (2020). NOTE: Starting with package version 2.4, it is also possible to obtain class probability predictions in addition to the class point predictions. Moreover, the variable importance values can also be based on the class probability predictions. Preliminary results indicate that this might lead to a better discrimination between influential and non-influential covariates. The main functions of the package are: ordfor() (construction of OF) and predict.ordfor() (prediction of the target variable values of new observations). References: Hornung R. (2020) Ordinal Forests. Journal of Classification 37, 4–17. doi:10.1007/s00357-018-9302-x.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 5includes a package overview page
- Examples that run
- 20%1 run in a plain check · 4 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 50%
- Help pages citing references
- 100%
Downloads
Dependencies
Installing ordinalForest adds 12 packages (7 with compiled code, 14 MB of source tarballs). Heaviest: fields 3.9 MB, spam 3.1 MB, maps 2.2 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 2.4-4Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 2.4-32022-11-30 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 2.4-22021-06-25 · diff ↗
- RR 4.1.0 released · 2021-05-18
- unarchivedReturned to CRAN2020-07-22
- 2.4-12020-07-22 · diff ↗
- archivedRemoved from CRAN2020-07-20with serious memory-access errors
- 2.42020-07-13 · diff ↗
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 2.3-12019-02-06 · diff ↗
Show 8 earlier eventsHide 8 earlier events
- 2.32019-01-24 · diff ↗
- 2.22018-07-16 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 2.12017-10-20 · diff ↗ ·
removed 4 exports
perfm_custom, perfm_equal, perfm_irrespective, perfm_onecategadded 4 exports
perff_custom, perff_equal, perff_oneclass, perff_proportional - 2.02017-07-26 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 1.02017-04-13
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2017-04-13
- Total releases
- 11 / 9 yrs
- License
- GPL-2 OSI
- Bundled data
- 3.7 KB / 1 file
- Download size
- 85 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ordinalForest")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.