Learn R Programming

lineqGPR (version 0.1.1)

plot.lineqGP: Plot for the "lineqGP" S3 Class

Description

Plot for the "lineqGP" S3 class.

Usage

# S3 method for lineqGP
plot(
  x,
  y,
  ytest = NULL,
  probs = c(0.025, 0.975),
  bounds = NULL,
  addlines = TRUE,
  nblines = 5,
  ...
)

Arguments

x

an object with "lineqGP" S3 class.

y

not used.

ytest

the values of the test observations. If !is.null(ytest), ytest is drawn.

probs

the values of the confidence intervals evaluated at probs.

bounds

the values of the bounds of a constrained model. If !is.null(bounds), bounds are drawn.

addlines

pptional Logical. If TRUE, some samples are drawn.

nblines

if addlines. The number of samples to be drawn.

...

further arguments passed to or from other methods.

Value

Plot with the "lineqGP" model.

See Also

plot, ggplot.lineqGP