Skip to content

ordinalForest

2.4-4

Ordinal Forests: Prediction and Variable Ranking with Ordinal Target Variables

1packages depend
12.5Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Roman HornungFirst published 2017-04-1311 releasesCRAN page ↗

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

CRAN checks
13OK
Slowest check: 3.1 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
4
Dependencies · direct
Check history
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

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

Downloads

12.5K
CRAN downloads in the past year
Rank #4,410 · ~34/day · ~1K/mo
Daily download trend is not available in this view yet.
47930 days
2.1K90 days
12.5K1 year
Compare downloads with other packages →
Also on404 r2u22 autocran

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (1)
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

Code Composition
C++ 6,353 (59%)C 2,198 (20%)R 1,716 (16%)Rd 561 (5%)
Code characteristics
Object systems
S33
Cyclomatic complexity
1.0 median / 100 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

233 5 exported

Complexity

12.1 avg / 100 max

Call network

233 nodes / 148 edges

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Datasets

Bundled datasets · 1
NameClassRows × ColsAlso ships in
hearthdata.frame294 × 11

People & History

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

11 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
  • 2.4-4Latest
    2024-10-29 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 2.4-3
    2022-11-30 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2.4-2
    2021-06-25 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 2.4-1
    2020-07-22 · diff ↗
  • unarchivedReturned to CRAN
    2020-07-22
  • archivedRemoved from CRAN
    2020-07-20
    with serious memory-access errors
  • 2.4
    2020-07-13 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 2.3-1
    2019-02-06 · diff ↗
Show 8 earlier events
  • 2.3
    2019-01-24 · diff ↗
  • 2.2
    2018-07-16 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 2.1
    2017-10-20 · diff ↗
  • 2.0
    2017-07-26 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 1.0
    2017-04-13
  • R
    R 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
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →