Skip to contents

A plot of the sum of squares error (SSE) vs different values of lambda for the glog transform. The indicated optimum value for lambda minimises the SSE.

Usage

glog_opt_plot(plot_grid = 100, ...)

Arguments

plot_grid

(numeric) The default is 100.

...

Additional slots and values passed to struct_class.

Value

A glog_opt_plot object. This object has no output slots. See chart_plot in the struct package to plot this chart object.

Details

This object makes use of functionality from the following packages:

  • pmp

Inheritance

A glog_opt_plot object inherits the following struct classes:

[glog_opt_plot] >> [chart] >> [struct_class]

References

Jankevics A, Lloyd GR, Weber RJM (????). pmp: Peak Matrix Processing and signal batch correction for metabolomics datasets. R package version 1.15.1.

Examples

M = glog_opt_plot(
      plot_grid = numeric(0))

D = iris_DatasetExperiment()
M = glog_transform(qc_label='versicolor',factor_name='Species')
M = model_apply(M,D)
#> Error!Lambda tending to infinity! Using standard
#> Error!Lambda tending to infinity! Using standard
C = glog_opt_plot()
chart_plot(C,M,D)