Allows extension package developers to define a new distribution class
compatible with the distributional package.
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).