Get PCM runout distance grid search optimal parameters

pcmGetOpt(
  x,
  performance = "relerr",
  measure = "median",
  from_save = FALSE,
  plot_opt = FALSE
)

Arguments

x

A list of PCM grid search values

performance

Performance measure "relerr" relative error

measure

A measure (e.g. "median", "mean") to find optimal parameter across grid search space

from_save

(Logical) if TRUE, will load save files form current working directory

plot_opt

(Logical) if TRUE, will plot performance across grid search space

Value

A dataframe with the optimal parameter set and performance