# plot density of the normal distribution
density_plot(dnorm, c(-5, 7),
mean = 1, sd = 2,
to = 3)
# plot distribution function of the Poisson distribution
distribution_plot(ppois, c(0, 12),
lambda = 4,
points = c(2, 6, 10),
var = "y")
Run the code above in your browser using DataLab