plot_cumulative_distribution_function: plot_cumulative_distribution_function

Description Usage Arguments Value Examples

Description

Produces a good looking graph of a cumulative distribution function.

Usage

1
2
plot_cumulative_distribution_function(fun, x_start, x_end, title = NULL,
  subtitle = NULL, caption = NULL, ...)

Arguments

fun

a pre-parameterized cumulative distribution function receiving a single x parameter

x_start

the left most position that will be displayed on the x axis

x_end

the right most position that will be displayed on the x axis

Value

a good looking graph

Examples

1
2
3
fun <- function(x, ...) { return(dlnorm(x = x, meanlog = 100, sdlog = 20, log = FALSE))  }
graph <- plot_cumulative_distribution_function(fun = fun, x_start = 10, x_end = 150)
graph

daviddoret/GRCRToolkit documentation built on May 23, 2019, 7:31 a.m.