shadedPlot: Shaded plot (or prediction interval plot).

View source: R/default_plot.R

shadedPlotR Documentation

Shaded plot (or prediction interval plot).

Description

Shaded plot (or prediction interval plot).

Usage

shadedPlot(
  x,
  output,
  colour = NULL,
  strat_extra = NULL,
  level = 0.9,
  alpha = 0.25
)

Arguments

x

data frame

output

variable to show

colour

variable(s) to colour

strat_extra

variable(s) to stratify, but not to colour (useful for use with facet_wrap)

level

PI level, default is 0.9 (90% PI)

alpha

alpha parameter (transparency) given to geom_ribbon

Value

a ggplot object


Calvagone/campsis documentation built on Nov. 29, 2024, 10:01 p.m.