View source: R/new_distribution.R
new_distribution | R Documentation |
Low level constructor function for creating distribution objects.
Consider the user-facing constructor function, distribution()
.
new_distribution(l, ..., class = character())
l |
List containing the components of a distribution object. |
... |
Attributes to add to the list. |
class |
If making a subclass, specify its name here. |
The original list l
with the specified attributes.
new_distribution(list(mean = 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.