Skip to content

orf

Ordered Random Forests

v0.1.4 · Jul 23, 2022 · GPL-3

Description

An implementation of the Ordered Forest estimator as developed in Lechner & Okasa (2019) <arXiv:1907.02436>. The Ordered Forest flexibly estimates the conditional probabilities of models with ordered categorical outcomes (so-called ordered choice models). Additionally to common machine learning algorithms the 'orf' package provides functions for estimating marginal effects as well as statistical inference thereof and thus provides similar output as in standard econometric models for ordered choice. The core forest algorithm relies on the fast C++ forest implementation from the 'ranger' package (Wright & Ziegler, 2017) <arXiv:1508.04409>.

Downloads

293

Last 30 days

13968th

743

Last 90 days

3.3K

Last year

Trend: +29.7% (30d vs prior 30d)

CRAN Check Status

14 NOTE
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-macos-arm64 NOTE
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 NOTE
r-release-macos-arm64 NOTE
r-release-macos-x86_64 NOTE
r-release-windows-x86_64 NOTE
Check details (16 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Gabriel Okasa <okasa.gabriel@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Gabriel",
                      family = "Okasa",
                      role = c("aut", "cre"),
                      email = "okasa.gabriel@gmail.com"),
               person(given = "Michael",
                      family = "Lechner",
                      role = "ctb"))
as necessary.

Package CITATION file contains call(s) to old-style personList() or
as.personList().  Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.

The Description field contains
  Lechner & Okasa (2019) <arXiv:1907.02436>. The Ordered Forest flexibly
  2017) <arXiv:1508.04409>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE r-devel-linux-x86_64-debian-clang

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Gabriel Okasa <okasa.gabriel@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Gabriel",
                      family = "Okasa",
                      role = c("aut", "cre"),
                      email = "okasa.gabriel@gmail.com"),
               person(given = "Michael",
                      family = "Lechner",
                      role = "ctb"))
as necessary.

Package CITATION file contains call(s) to old-style personList() or
as.personList().  Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.

The Description field contains
  Lechner & Okasa (2019) <arXiv:1907.02436>. The Ordered Forest flexibly
  2017) <arXiv:1508.04409>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE r-devel-linux-x86_64-debian-gcc

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-devel-linux-x86_64-fedora-clang

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-devel-linux-x86_64-fedora-gcc

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-devel-macos-arm64

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-devel-windows-x86_64

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-oldrel-macos-arm64

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-oldrel-macos-x86_64

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-oldrel-windows-x86_64

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-patched-linux-x86_64

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-release-linux-x86_64

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-release-macos-arm64

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-release-macos-x86_64

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-release-windows-x86_64

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^

Check History

NOTE 0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Gabriel Okasa <okasa.gabriel@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Gabriel",
                      family = "Okasa",
                      role = c("aut", "cre"),
       
...[truncated]...
.  Please
use bibentry() instead.

The Description field contains
  Lechner & Okasa (2019) <arXiv:1907.02436>. The Ordered Forest flexibly
  2017) <arXiv:1508.04409>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Gabriel Okasa <okasa.gabriel@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Gabriel",
                      family = "Okasa",
                      role = c("aut", "cre"),
       
...[truncated]...
.  Please
use bibentry() instead.

The Description field contains
  Lechner & Okasa (2019) <arXiv:1907.02436>. The Ordered Forest flexibly
  2017) <arXiv:1508.04409>.
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
NOTE r-devel-linux-x86_64-fedora-clang

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-devel-linux-x86_64-fedora-gcc

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-devel-macos-arm64

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-devel-windows-x86_64

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-patched-linux-x86_64

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-release-linux-x86_64

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-release-macos-arm64

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-release-macos-x86_64

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-release-windows-x86_64

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-oldrel-macos-arm64

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-oldrel-macos-x86_64

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^
NOTE r-oldrel-windows-x86_64

Rd files

checkRd: (-1) orf.Rd:74: Lost braces
    74 | matrix of covariates \code{X} and a vector of outcomes 'code{Y} to the \code{orf}
       |                                                             ^

Reverse Dependencies (1)

imports

ocf

Dependency Network

Dependencies Reverse dependencies ggplot2 ranger Rcpp xtable ocf orf

Version History

new 0.1.4 Mar 10, 2026
updated 0.1.4 ← 0.1.3 diff Jul 23, 2022
updated 0.1.3 ← 0.1.2 diff Jan 30, 2020
new 0.1.2 Nov 29, 2019