plotImage: Draw an image plot for a given two-dimensional input

Description Usage Arguments Value Examples

View source: R/gp.functions6.R

Description

Draw an image plot for a given two-dimensional input

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
plotImage(
  response,
  input,
  realisation = 1,
  n1,
  n2,
  main = " ",
  zlim = NULL,
  cex.axis = 1,
  cex.lab = 2.5,
  legend.cex.axis = 1,
  font.main = 2,
  cex.main = 2,
  legend.width = 2,
  mar = c(2.1, 2.1, 3.1, 6.1),
  oma = c(0, 1, 0, 0),
  nGrid = 200,
  enlarge_zlim = NULL
)

Arguments

response

Data to be plotted (e.g. matrix of predictions)

input

Matrix of two columns representing the input coordinates.

realisation

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

n1

Number of datapoints in the first coordinate direction

n2

Number of datapoints in the second coordinate direction

main

Title for the plot

zlim

Range of z-axis

cex.axis

Graphical parameter

cex.lab

Graphical parameter

legend.cex.axis

Graphical parameter

font.main

Graphical parameter

cex.main

Graphical parameter

legend.width

Graphical parameter

mar

Graphical parameter

oma

Graphical parameter

nGrid

Dimension of output grid in each coordinate direction

enlarge_zlim

Additional quantity to increase the range of zlim

Value

A plot

Examples

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

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