plot_dist | R Documentation |
Plot a distribution
plot_dist(d)
d |
List that defines the distribution (as returned by |
A ggplot object.
# Define a `ern` distribution:
gi = ern::def_dist(
dist = "gamma",
mean = 6.84,
mean_sd = 0.7486,
shape = 2.39,
shape_sd = 0.3573,
max = 15
)
# Plot can be customized like any `ggplot` object:
g = plot_dist(gi) + ggplot2::labs(subtitle = 'your subtitle')
plot(g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.