draw {dgpsi} | R Documentation |
Validation plots of a sequential design
Description
This function draws validation plots of the sequential design of a (D)GP emulator or a bundle of (D)GP emulators.
Usage
draw(object, ...)
## S3 method for class 'gp'
draw(object, type = "rmse", log = FALSE, ...)
## S3 method for class 'dgp'
draw(object, type = "rmse", log = FALSE, ...)
## S3 method for class 'bundle'
draw(object, emulator = 1, type = "rmse", log = FALSE, ...)
Arguments
object |
can be one of the following emulator classes:
|
... |
N/A. |
type |
either |
log |
a bool that indicates whether to plot RMSEs or customized evaluating metrics in log-scale if |
emulator |
the index of the emulator packed in |
Details
See further examples and tutorials at https://mingdeyu.github.io/dgpsi-R/.
Value
A patchwork
object.
Note
If a customized evaluating function is provided to design()
and the function returns a single evaluating metric value when object
is
an instance of the bundle
class, the value of emulator
has no effects on the plot when type = "rmse"
.
Examples
## Not run:
# See design() for an example.
## End(Not run)