geom_quantiles {mcp}R Documentation

Return a geom_line representing the quantiles

Description

Called by plot.mcpfit.

Usage

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

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

Value

A ggplot2::geom_line object.

Author(s)

Jonas Kristoffer Lindeløv jonas@lindeloev.dk


[Package mcp version 0.3.4 Index]