shadedPlot {campsis}R 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


[Package campsis version 1.5.3 Index]