powered by
Generic method for obtaining the parameters of an object.
params(x)
A named vector (or list) of distribution parameters.
The object to obtain the parameters of.
x <- normal(5, 2) params(x) # mu = 5, var = 2 y <- exponential(3) params(y) # rate = 3
Run the code above in your browser using DataLab