Learn R Programming

DeLorean (version 1.5.0)

plot.add.mean.and.variance: Add posterior representation to a plot.

Description

Add posterior representation to a plot.

Usage

# S3 method for add.mean.and.variance
plot(gp, .data = NULL, color = "black",
  line.alpha = 0.3, ribbon.alpha = 0.1)

Arguments

gp

Plot object

.data

Data frame containing variables to plot (mean, var) phi, predictedvar)

color

Color to use

line.alpha

Alpha to use for mean line

ribbon.alpha

Alpha to use for variance ribbon