plt.2d.surf.batch: Visualize and compare 2D emulator + stopping region for two...

View source: R/batchDesign_utils.R

plt.2d.surf.batchR Documentation

Visualize and compare 2D emulator + stopping region for two fits

Description

two-dimensional image of contour + site + batch plot for two fits

Usage

plt.2d.surf.batch(
  fit1,
  fit2,
  r1,
  r2,
  batch1,
  batch2,
  x = seq(31, 43, len = 201),
  y = seq(31, 43, len = 201)
)

Arguments

fit1, fit2

can be any of the types supported by forward.sim.policy

r1, r2

batch vectors for the two fits

batch1, batch2

batch heristics for two fits; Passed to ggplot() This only works for km and het/homGP objects

x, y

locations to use for the predict() functions. Default is a 200x200 fine grid. Passed to expand.grid


mludkov/mlOSP documentation built on April 29, 2023, 7:56 p.m.