new_dist: Create a new distribution
Description
![[Maturing]](figures/lifecycle-maturing.svg?package=distributional&version=0.5.0)
Allows extension package developers to define a new distribution class
compatible with the distributional package.
Usage
new_dist(..., class = NULL, dimnames = NULL)
Arguments
- ...
Parameters of the distribution (named).
- class
The class of the distribution for S3 dispatch.
- dimnames
The names of the variables in the distribution (optional).