Package: mhn
Type: Package
Title: The Modified Half-Normal Distribution
Version: 0.1.1
Authors@R: person("Tomotaka", "Momozaki", role = c("aut", "cre"),
    email = "momozaki.stat@gmail.com")
Description: Provides density, distribution, quantile, and random generation
    functions for the Modified Half-Normal (MHN) distribution, along with
    moments and mode; the Fox-Wright Psi normalizing constant is evaluated
    internally. The MHN distribution arises as a conditional posterior in
    Bayesian Markov chain Monte Carlo and generalizes the half-normal,
    truncated normal, and square-root gamma distributions. Implements
    efficient sampling via the Sun, Kong & Pal (2023)
    <doi:10.1080/03610926.2021.1934700> algorithms and the Gao & Wang (2025)
    <doi:10.1080/03610918.2025.2524551> relaxed transformed density
    rejection method.
License: MIT + file LICENSE
Encoding: UTF-8
RoxygenNote: 7.3.3
Depends: R (>= 4.0.0)
Imports: Rcpp (>= 1.0.7)
LinkingTo: Rcpp, BH (>= 1.78.0-0)
SystemRequirements: C++17
Suggests: testthat (>= 3.0.0), knitr, rmarkdown, bench, Rmpfr
Config/testthat/edition: 3
VignetteBuilder: knitr
URL: https://github.com/t-momozaki/mhn,
        https://t-momozaki.github.io/mhn/
BugReports: https://github.com/t-momozaki/mhn/issues
NeedsCompilation: yes
Packaged: 2026-09-16 00:52:09 UTC; t_momozaki
Author: Tomotaka Momozaki [aut, cre]
Maintainer: Tomotaka Momozaki <momozaki.stat@gmail.com>
Repository: CRAN
Date/Publication: 2026-09-23 09:30:13 UTC
Built: R 4.5.2; aarch64-apple-darwin20; 2026-09-23 09:44:26 UTC; unix
Archs: mhn.so.dSYM
