Skip to content

GUD

1.0.2

Bayesian Modal Regression Based on the GUD Family

0packages depend
2.3Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Qingyang LiuFirst published 2024-05-273 releasesCRAN page ↗GitHub ↗

Provides probability density functions and sampling algorithms for three key distributions from the General Unimodal Distribution (GUD) family: the Flexible Gumbel (FG) distribution, the Double Two-Piece (DTP) Student-t distribution, and the Two-Piece Scale (TPSC) Student-t distribution. Additionally, this package includes a function for Bayesian linear modal regression, leveraging these three distributions for model fitting. The details of the Bayesian modal regression model based on the GUD family can be found at Liu, Huang, and Bai (2024) doi:10.1016/j.csda.2024.108012.

Install

Health

CRAN checks
13OK
Slowest check: 12.9 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-29
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-07-27
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 3 earlier snapshots
  • NOTE2026-04-22
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 579 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
75%
Documented parameters
100%
Return-value docs
100%
References docs
67%

Downloads

2.3K
CRAN downloads in the past year
Rank #14,834 · ~6/day · ~190/mo
Daily download trend is not available in this view yet.
15630 days
70090 days
2.3K1 year
Compare downloads with other packages →
Also on376 r2u24 autocran

Repository

Repository
5Stars
0Forks
0Open issues
0Open PRs
0Releases
10Commits
1Contributors
License GPL-3.0 · 10 commits · Last activity 2024-06-29

Stars over time

2024-07-02 · 52026-07-07 · 5

Repository practices

Upstream repositoryBeta

Checks run against github.com/rh8liuqy/bayesian_modal_regression on 2026-08-16.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.4.0
Suggests (6)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

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

3 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
  • 1.0.2Latest
    2024-07-01 · current release · diff ↗
  • 1.0.0
    2024-06-29 · diff ↗
  • 0.0.5
    2024-05-27
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-05-27
Total releases
3 / 2 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.4.0
Bundled data
1.6 KB / 1 file
Download size
514 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("GUD")
Liu, Q., Bai, R., & Huang, X. (2024). GUD: Bayesian Modal Regression Based on the GUD Family (Version 1.0.2) [Computer software]. https://doi.org/10.32614/CRAN.package.GUD

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 GUD version 1.0.2 [Data set]. HJJB, LLC. Data release v2026-08-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-22, 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