Show plot with cumulative explained variance
# S3 method for mcr
plotCumVariance(
obj,
type = "b",
labels = "values",
main = "Cumulative variance",
xticks = seq_len(obj$ncomp),
...
)
object of clacc mcr
type of the plot
what to use as data labels
title of the plot
vector with ticks for x-axis
other parameters suitable for mdaplot