geom_quantiles: Return a geom_line representing the quantiles

View source: R/plot.R

geom_quantilesR 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


mcp documentation built on May 29, 2024, 6:15 a.m.