plotFoMs.ddsimcares: Figures of merit plot (multiple FoMs).

View source: R/ddsimcares.R

plotFoMs.ddsimcaresR Documentation

Figures of merit plot (multiple FoMs).

Description

Figures of merit plot (multiple FoMs).

Usage

## S3 method for class 'ddsimcares'
plotFoMs(
  obj,
  foms = NULL,
  limType = "classic",
  type = "b",
  ylim = c(0, 1.1),
  col = NULL,
  legend.position = "bottom",
  main = "Figures of merit",
  ...
)

Arguments

obj

DD-SIMCA results (object of class ddsimcares)

foms

vector with FoM names to show on the plot (any combination of 'sens', 'spec', 'sel', 'eff', 'acc').

limType

limit type to show the plot for ('classic' or 'robust').

type

type of plot (can be 'b', 'l', or 'h').

ylim

limits for y-axis.

col

vector with color values (should contain one value for each fom), if not provided will use default colors.

legend.position

position of legend on the plot.

main

main title.

...

any parameters for mdaplotg method can be provided.

Shows several figures of merit values vs. number of components as a group plot (see details in mdaplotg method desciption.


mdatools documentation built on March 6, 2026, 5:08 p.m.