| plot.pmsims | R Documentation |
pmsims outputsProduces a ggplot showing the simulated points and the fitted learning
curve (the learning-curve fit for method = "curve", the Gaussian-process
surrogate for the mlpwr engines) stored inside a pmsims object.
Optionally returns the underlying data instead of drawing the plot.
## S3 method for class 'pmsims'
plot(x, metric_label = NULL, plot = TRUE, ...)
x |
A |
metric_label |
Optional string used for the y-axis label when the object does not already record the metric name. |
plot |
Logical; if |
... |
Currently unused. |
Invisibly returns the ggplot object when plot = TRUE. When
plot = FALSE, returns a list with two data frames: for the mlpwr
engines, observed_data (simulated points) and predicted_data
(Gaussian-process predictions); for method = "curve", observed_data
(the criterion at each simulated sample size, with replicates, standard
error and a +/- 2 SE interval) and fitted_curve (the fitted learning
curve, or NULL when none was fitted).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.