plot.gpr: Plot GPR model for either training or prediction

Description Usage Arguments Value Examples

View source: R/gp.functions6.R

Description

Plot Gaussian process for a given an object of class 'gpr'.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## S3 method for class 'gpr'
plot(
  x,
  fitted = F,
  col.no = 1,
  ylim = NULL,
  realisation = NULL,
  main = NULL,
  cex.points = NULL,
  lwd.points = NULL,
  pch = NULL,
  lwd = NULL,
  ...
)

Arguments

x

The 'gpr' object from either training or predicting of the Gaussian Process.

fitted

Logical. Plot fitted values or not. Default to FALSE. If FALSE, plot the predictions.

col.no

Column number of the input matrix. If the input matrix has more than one columns, than one of them will be used in the plot. Default to be the first one.

ylim

Range value for y-axis.

realisation

Integer identifying which realisation should be plotted (if there are multiple).

main

Title for the plot

cex.points

Graphical parameter

lwd.points

Graphical parameter

pch

Graphical parameter

lwd

Graphical parameter

...

Graphical parameters passed to plot().

Value

A plot

Examples

1
2
## See examples in vignette:
# vignette("gpr_ex1", package = "GPFDA")

GPFDA documentation built on Jan. 29, 2021, 5:14 p.m.