| as_dist_structure.dist_structure | R Documentation |
Wraps a plain algebraic.dist distribution in a 1-component series_dist
so that it satisfies the dist_structure protocol. Useful for
polymorphic code that operates on dist_structure inputs but is also
handed unwrapped distributions. A dist_structure is returned
unchanged.
## S3 method for class 'dist_structure'
as_dist_structure(x, ...)
## S3 method for class 'dist'
as_dist_structure(x, ...)
as_dist_structure(x, ...)
x |
A dist or dist_structure. |
... |
Reserved for methods. |
A dist_structure object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.