# NOT RUN {
x <- Rayleigh$new(mode = 2)
# Update parameters
x$setParameterValue(mode = 4)
x$parameters()
# d/p/q/r
x$pdf(1:4)
x$cdf(2)
x$quantile(0.42)
x$rand(4)
# Statistics
x$mean()
x$variance()
summary(x)
# }
Run the code above in your browser using DataLab