Applies the standard plotting engine argument matching used by exported plotting functions. Keeping this in one place makes engine-dispatch cleanup stages less repetitive without changing the accepted engine values.
matchPlottingEngine(engine, choices = c("base", "ggplot2"))The matched plotting engine.
character plotting engine argument.
character vector of accepted plotting engines.