figure_misclass_temporal: Temporal misclassifications figure.

Description Usage Arguments Details Note Author(s) See Also

View source: R/figure_misclass_temporal.R

Description

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

Usage

1
2
figure_misclass_temporal(view.plot = TRUE, save.plot = FALSE,
  plot.name = "temporal_misclass_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_misclass_temporal() loads the models that were saved to ./inst/extdata/; reproduces the training data; ascertains the temporal information for each misclassification; summarises the misclassifications according to the temporal data; creates side-by-side bar plots and places them, with an appropriate plot title, into a single compound figure. The figure can be saved to ./figs/ if required.

Note

Although this function is exported, figure_misclass_temporal() 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.