plt.2d.surf | R Documentation |
Two-dimensional raster+contour+point plot of an mlOSP emulator at a single time step.
plt.2d.surf(
fit,
x = seq(31, 43, len = 201),
y = seq(31, 43, len = 201),
show.var = FALSE,
only.contour = FALSE,
contour.col = "red",
bases = NULL,
strike = 0
)
fit |
a fitted emulator. can be any of the types supported by |
x, y |
locations to use for the |
show.var |
if |
only.contour |
– just the zero-contour, no raster plot |
contour.col |
(default is "red") – color of the zero contour |
bases |
(only used for lm objects) |
Uses the raster plot from ggplot2. For GP-based objects, also shows the unique design
sites via geom_point. See plt.2d.surf.batch
for a similar plot
for osp.seq.batch.design
emulators.
a ggplot handle for the created plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.