View source: R/plotting_functs.R
plot_mixture | R Documentation |
Plots a mixture distribution.
plot_mixture(
density_df,
thresh = NULL,
x_max = Inf,
x_min = -Inf,
points = TRUE,
xlab = NULL
)
density_df |
a density df as outputted by "get_theoretical_densities_and_thresholds." |
thresh |
a threshold to plot as a vertical line |
x_max |
maximal x-value |
x_min |
minimal x-value |
points |
plot points? (if FALSE, only lines) |
xlab |
x-axis label |
a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.