dng: Distributions and Gradients

Provides density, distribution function, quantile function and random generation for the split normal and split-t distributions, and computes their mean, variance, skewness and kurtosis for the two distributions (Li, F, Villani, M. and Kohn, R. (2010) <doi:10.1016/j.jspi.2010.04.031>).

Version: 1.0.0
Depends: R (≥ 3.0.0)
Imports: Rcpp (≥ 0.12.9)
LinkingTo: Rcpp
Suggests: testthat
Published: 2026-05-03
DOI: 10.32614/CRAN.package.dng
Author: Feng Li ORCID iD [aut, cre], Jiayue Zeng [aut]
Maintainer: Feng Li <feng.li at gsm.pku.edu.cn>
BugReports: https://github.com/feng-li/dng/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/feng-li/dng/
NeedsCompilation: yes
Citation: dng citation info
Materials: README, NEWS
In views: Distributions
CRAN checks: dng results

Documentation:

Reference manual: dng.html , dng.pdf

Downloads:

Package source: dng_1.0.0.tar.gz
Windows binaries: r-devel: dng_0.2.1.zip, r-release: dng_0.2.1.zip, r-oldrel: dng_0.2.1.zip
macOS binaries: r-release (arm64): dng_1.0.0.tgz, r-oldrel (arm64): dng_1.0.0.tgz, r-release (x86_64): dng_1.0.0.tgz, r-oldrel (x86_64): dng_1.0.0.tgz
Old sources: dng archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=dng to link to this page.