Description Usage Arguments Value Examples
Enriches a graph with good looking vertical lines. For instance, this may be used to represend point estimates and limits in a PDF.
1 2 |
graph |
a ggplot graph, typically a PDF or CDF |
estim_quantiles |
a vector of estimated quantiles (aka x values) |
estim_labels |
meaningful labels to describe the estimated quantiles |
an good looking graph enriched with visual representations for the estimates
1 2 3 4 | fun <- function(x, ...) { return(dlnorm(x = x, meanlog = 100, sdlog = 20, log = FALSE)) }
graph <- plot_probability_density_function(fun = fun, x_start = 10, x_end = 150)
graph_enriched <- overplot_horizontal_lines(graph=graph, x_values = c(.05,.95), x_labels = c("a","b"))
graph_enriched
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.