ggplot.lineqGP: GGPlot for the '"lineqGP"' S3 Class

Description Usage Arguments Value Author(s) See Also

View source: R/lineqGPutils.R

Description

GGPlot for the "lineqGP" S3 class.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
## S3 method for class 'lineqGP'
ggplot(
  data,
  mapping,
  ytest = NULL,
  probs = c(0.05, 0.95),
  bounds = NULL,
  addlines = TRUE,
  nblines = 5,
  fillbackground = TRUE,
  alpha.qtls = 0.4,
  xlab = "",
  ylab = "",
  main = "",
  xlim = NULL,
  ylim = NULL,
  lwd = 1,
  cex = 1.5,
  ...
)

Arguments

data

an object with "lineqGP" S3 class.

mapping

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

an optional Logical. If TRUE, some samples are drawn.

nblines

if addlines. The number of samples to be drawn.

fillbackground

an optional logical. If TRUE, fill gray background.

alpha.qtls

a number indicating the transparency of the quantiles.

xlab

a character string corresponding to the title for the x axis.

ylab

a character string corresponding to the title for the y axis.

main

a character string corresponding to the overall title for the plot.

xlim

the limit values for the x axis.

ylim

the limit values for the y axis.

lwd

a number indicating the line width.

cex

a number indicating the amount by which plotting text and symbols should be scaled.

...

further arguments passed to or from other methods.

Value

GGPlot with the "lineqGP" model.

Author(s)

A. F. Lopez-Lopera.

See Also

ggplot, plot.lineqGP


lineqGPR documentation built on Jan. 11, 2020, 9:23 a.m.