summary {dgpsi} | R Documentation |
Summary of a constructed GP, DGP, or linked (D)GP emulator
Description
This function provides a summary of key information for a GP, DGP, or linked (D)GP emulator by generating either a table or an interactive plot of the emulator’s structure.
Usage
## S3 method for class 'gp'
summary(object, type = "plot", ...)
## S3 method for class 'dgp'
summary(object, type = "plot", ...)
## S3 method for class 'lgp'
summary(object, type = "plot", group_size = 1, ...)
Arguments
object |
can be one of the following:
|
type |
a character string, either |
... |
Any arguments that can be passed to |
group_size |
an integer specifying the number of consecutive layers to be grouped together
in the interactive visualization of linked emulators when |
Details
See further examples and tutorials at https://mingdeyu.github.io/dgpsi-R/.
Value
Either a summary table (returned as kableExtra
object) or an interactive visualization
(returned as a visNetwork
object) of the emulator. The visualization is compatible with R Markdown
documents and the RStudio Viewer. The summary table can be further customized by kableExtra::kableExtra package.
The resulting visNetwork
object can be saved as an HTML file using visNetwork::visSave()
from the visNetwork::visNetwork package.
Examples
## Not run:
# See gp(), dgp(), or lgp() for an example.
## End(Not run)