plot.benchmark | R Documentation |
benchmark
ClassPlot Method for benchmark
Class
## S3 method for class 'benchmark' plot( x, start_from = 1, min_loss = NULL, type = "iter", eps = 1e-10, xlog = TRUE, ylog = TRUE, ... )
x |
benchmark class output by benchmark function |
start_from |
A integer indicating which repetition should be plot out. If that has NA values it will search the following repetitions and plot out the first one without NA. |
min_loss |
A real number indicating the minimum loss that should be subtracted out when doing plots. If NULL, the minimum loss will be subtracted out. |
type |
A string indicating the x-axis. "iter" for fpevals and "elapsed" for elapsed time. |
eps |
A small positive real number setting a lower bound for the standardized loss. Useful when doing log scale plots. |
xlog |
A bool value indicating whether x should be plotted in log scale |
ylog |
A bool value indicating whether y should be plotted in log scale |
... |
Other arguments for plot function. |
## Not run: set.seed(54321) out = benchmark("poissmix", c("raw", "squarem", "daarem", "pem", "qn", "nes"), ntimes=100) plot(out) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.