plot_quantile_function: plot_quantile_function

Description Usage Arguments Value Examples

Description

Produces a good looking graph of a quantile function.

Usage

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

Arguments

fun

a parameterized quantile 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_quantile_function(fun = fun, x_start = 10, x_end = 150)
graph

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