figure_tuning: Model tuning figure.

Description Usage Arguments Details Note Author(s) See Also

View source: R/figure_tuning.R

Description

figure_tuning() reproduces the compound figure of the LCMS and NMR model tuning results in section x.xx of Benjamin Gordon's PhD thesis.

Usage

1
2
figure_tuning(view.plot = TRUE, save.plot = FALSE,
  plot.name = "tuning_figure")

Arguments

view.plot

Logical indicating if the plot should be printed to the plot viewer.

save.plot

Logical indicating if the plot should be saved to ./figs/.

plot.name

Name of plot.

Details

figure_tuning() loads gg objects that were saved to ./inst/extdata/ by the four modelling functions; adds plot labels (a, b, c and d) and saves the plot to ./figs/ as a .pdf file.

Note

Although this function is exported, figure_tuning() was not intended to be used outside of this package.

Author(s)

Benjamin R. Gordon

See Also

gridExtra-package ggplot grid-package


brgordon17/coralclass documentation built on June 15, 2020, 9:21 p.m.