Skip to contents

print.optop_crossfit summarizes an optop_crossfit() run: the configuration, the epsilon-adequacy pick per metric at the default tolerance, and the pooled summary table. plot.optop_crossfit draws the same two views as plot.optop_holdout(), the pooled Macro curve with its fold-replicate confidence band and the cross-fitted adjacent-gains view; epsilon and alpha recompute the gains at plot time.

Usage

# S3 method for class 'optop_crossfit'
print(x, ...)

# S3 method for class 'optop_crossfit'
plot(
  x,
  which = c("macro", "gains"),
  metric = NULL,
  epsilon = 0.01,
  alpha = 0.05,
  ...
)

Arguments

x

An optop_crossfit() result.

...

Ignored.

which

"macro" (default) or "gains".

metric

For the gains view, the metric to draw (default: the first evaluated metric).

epsilon, alpha

The adequacy tolerance and one-sided level of the gains view.

Value

x invisibly for the print method; the ggplot object, invisibly, for the plot method (drawn as a side effect).