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


campsis documentation built on Sept. 11, 2024, 7:18 p.m.