summary | R Documentation |
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.
## 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, ...)
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 |
See further examples and tutorials at https://mingdeyu.github.io/dgpsi-R/.
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.
## Not run:
# See gp(), dgp(), or lgp() for an example.
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.