Learn R Programming

mcp (version 0.3.3)

geom_quantiles: Return a geom_line representing the quantiles

Description

Called by plot.mcpfit.

Usage

geom_quantiles(samples, quantiles, xvar, yvar, facet_by, ...)

Value

A ggplot2::geom_line object.

Arguments

samples

A tidybayes tibble

quantiles

Vector of quantiles (0.0 to 1.0)

xvar

An rlang::sym() with the name of the x-col in samples

yvar

An rlang::sym() with the name of the response col in samples

facet_by

String. Name of a varying group.

...

Arguments passed to geom_line

Author

Jonas Kristoffer Lindeløv jonas@lindeloev.dk