powered by
Returns a function that evaluates the Weibull PDF at given points.
# S3 method for weibull_dist density(x, ...)
A function function(t, log = FALSE, ...) returning the density (or log-density) at t.
function(t, log = FALSE, ...)
t
A weibull_dist object.
weibull_dist
Additional arguments (not used).
x <- weibull_dist(shape = 2, scale = 3) f <- density(x) f(1) f(3)
Run the code above in your browser using DataLab