Skip to content

monoreg

Bayesian Monotonic Regression Using a Marked Point Process Construction

v2.1 · Apr 30, 2023 · GPL (>= 2)

Description

An extended version of the nonparametric Bayesian monotonic regression procedure described in Saarela & Arjas (2011) <DOI:10.1111/j.1467-9469.2010.00716.x>, allowing for multiple additive monotonic components in the linear predictor, and time-to-event outcomes through case-base sampling. The extension and its applications, including estimation of absolute risks, are described in Saarela & Arjas (2015) <DOI:10.1111/sjos.12125>. The package also implements the nonparametric ordinal regression model described in Saarela, Rohrbeck & Arjas <DOI:10.1214/22-BA1310>.

Downloads

CRAN

262

Last 30 days

18671st

680

Last 90 days

2.9K

Last year

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

r2u CRAN

24

Last 30 days

114

Last 90 days

398

Last year

Trend: -41.5% (30d vs prior 30d)

autoCRAN

2

Last 7 days

14

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

2 NOTE
11 OK
Show all 13 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 OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Olli Saarela <olli.saarela@utoronto.ca>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Olli",
                      family = "Saarela",
                      role = c("aut", "cre"),
                      email = "olli.saarela@utoronto.ca"),
               person(given = "Christian",
                      family = "Rohrbeck",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Olli Saarela <olli.saarela@utoronto.ca>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Olli",
                      family = "Saarela",
                      role = c("aut", "cre"),
                      email = "olli.saarela@utoronto.ca"),
               person(given = "Christian",
                      family = "Rohrbeck",
                      role = "aut"))
as necessary.

Check History

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

CRAN incoming feasibility

Maintainer: ‘Olli Saarela <olli.saarela@utoronto.ca>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Olli",
                      family = "Saarela",
                      role = c("aut", "cre"),
                      email = "olli.saarela@utoronto.ca"),
               person(given = "Christian",
                      family = "Rohrbeck",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Olli Saarela <olli.saarela@utoronto.ca>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Olli",
                      family = "Saarela",
                      role = c("aut", "cre"),
                      email = "olli.saarela@utoronto.ca"),
               person(given = "Christian",
                      family = "Rohrbeck",
                      role = "aut"))
as necessary.

Code

Structure

Lines of code

4,546

Files

22

Compiled share

77.1%

Has compiled src

Yes

Language breakdown

R 440 (9.7%)C/C++/src 3,504 (77.1%)Docs 602 (13.2%)

API

Exported functions

4

Internal functions

2

Recent export changes

v2.0+1 ordmonoreg
v1.1+3 getcmat, monoreg, monosurv

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

75%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.4.0

System requirements

1

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

4

First release

2017-06-29

Latest release

2023-04-30

Avg cadence

443 days

Cold removal rate

Dep drift

0

LOC over versions

v1.1: 2,489 LOCv1.2: 2,495 LOCv2.0: 4,545 LOCv2.1: 4,546 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Version History

5 tracked
new 2.1 Mar 10, 2026
updated 2.1 ← 2.0 diff Apr 29, 2023
updated 2.0 ← 1.2 diff Feb 10, 2022
updated 1.2 ← 1.1 diff Oct 18, 2017
new 1.1 Jun 28, 2017