Skip to content

FlexReg

1.4.2Package record

Regression Models for Bounded Continuous and Discrete Responses

0packages depend
4.4Kdownloads / year
–test coverage
11/11flavors OK

Overview

About

Functions to fit regression models for bounded continuous and discrete responses. In case of bounded continuous responses (e.g., proportions and rates), available models are the flexible beta (Migliorati, S., Di Brisco, A. M., Ongaro, A. (2018) doi:10.1214/17-BA1079), the variance-inflated beta (Di Brisco, A. M., Migliorati, S., Ongaro, A. (2020) doi:10.1177/1471082X18821213), the beta (Ferrari, S.L.P., Cribari-Neto, F. (2004) doi:10.1080/0266476042000214501), and their augmented versions to handle the presence of zero/one values (Di Brisco, A. M., Migliorati, S. (2020) doi:10.1002/sim.8406) are implemented. In case of bounded discrete responses (e.g., bounded counts, such as the number of successes in n trials), available models are the flexible beta-binomial (Ascari, R., Migliorati, S. (2021) doi:10.1002/sim.9005), the beta-binomial, and the binomial are implemented. Inference is dealt with a Bayesian approach based on the Hamiltonian Monte Carlo (HMC) algorithm (Gelman, A., Carlin, J. B., Stern, H. S., Rubin, D. B. (2014) doi:10.1201/b16018). Besides, functions to compute residuals, posterior predictives, goodness of fit measures, convergence diagnostics, and graphical representations are provided.

Install

Health

CRAN checks
11OK
Slowest check: 43.0 min · r-oldrel-windows-x86_64
Status changes
  • OK11 OK2026-08-05
  • NOTE10 OK, 1 NOTE2026-08-01
  • OK11 OK2026-07-29
  • ERROR10 OK, 1 ERROR2026-07-27
  • OK10 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
  • NOTE9 OK, 3 NOTE2026-04-22
  • ERROR8 OK, 3 NOTE, 1 ERROR2026-04-18
  • NOTE9 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.4.2
READMENoVignettesNoNEWSNoCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
54 (26 internal)includes a package overview page
Examples that run
24%5 run in a plain check · 16 never run
Exported functions with examples
93%
Documented parameters
85%
Return-value docs
79%
Help pages citing references
37%

Downloads

4.4K
CRAN downloads in the past year
Rank #12,938 · ~12/day · ~367/mo
Daily download trend is not available in this view yet.
35830 days
87790 days
4.4K1 year
Compare downloads with other packages →
Also on475 r2u1 autocran

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)

Installing FlexReg adds 61 packages (31 with compiled code, 66 MB of source tarballs). Heaviest: BH 14 MB, stringi 11 MB, ggplot2 6.0 MB.

Depends (1)
R >= 3.5.0
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (4)
Author, Maintainer since 1.0 (2020)
Listed in earlier versions (1)
Di Brisco
no longer listed · 1.3.1 to 1.4.2
Releases (8)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.4.2Latest
    record
    2026-02-04 · current release · diff ↗
  • 1.4.1
    record
    2025-09-11 · diff ↗
  • 1.4
    record
    2025-09-09 · diff ↗ ·
    added 11 exports
    model_frame, pBeta, pBetaBin, pFB, pFBB, pVIB, qBeta, qBetaBin, qFB, qFBB, qVIB
  • 1.3.1
    record
    2025-04-14 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.3.0
    record
    2023-09-29 · diff ↗ ·
    removed 10 exports
    dBeta_mu, mu.chain.nd, phi.chain.nd, q.chain.nd, q0.chain.nd, q01.chain.nd, q1.chain.nd, rBeta_mu, theta.chain.nd, var.fun
    added 2 exports
    dBeta, rBeta
  • R
    R 4.3.0 released · 2023-04-21
  • 1.2
    record
    2022-09-16 · diff ↗ ·
    added 4 exports
    q.chain.nd, q0.chain.nd, q01.chain.nd, q1.chain.nd
  • R
    R 4.2.0 released · 2022-04-22
  • 1.1
    record
    2022-01-17 · diff ↗ ·
    added 6 exports
    dBetaBin, dFBB, flexreg_binom, rBetaBin, rFBB, theta.chain.nd
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0
    record
    2020-11-05
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-11-05
Total releases
8 / 6 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.5.0
Bundled data
36 KB / 6 files
Download size
173 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("FlexReg")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1007/s00180-026-01720-y.

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 FlexReg version 1.4.2 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, 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