parameters {distributional} | R Documentation |
Extract the parameters of a distribution
Description
Usage
parameters(x, ...)
## S3 method for class 'distribution'
parameters(x, ...)
Arguments
x |
The distribution(s). |
... |
Additional arguments used by methods. |
Examples
dist <- c(
dist_normal(1:2),
dist_poisson(3),
dist_multinomial(size = c(4, 3),
prob = list(c(0.3, 0.5, 0.2), c(0.1, 0.5, 0.4)))
)
parameters(dist)
[Package distributional version 0.4.0 Index]