simcamres is used to store results for SIMCA multiclass classification.
simcamres(cres, pred.res)
Arguments
cres: results of classification (class classres).
pred.res: list with prediction results from each model (pcares objects)
Returns
Returns an object (list) of class simcamres with the same fields as classres
plus extra fields for Q and T2 values and limits:
c.pred: predicted class values.
c.ref: reference (true) class values if provided.
T2: matrix with T2 values for each object and class.
Q: matrix with Q values for each object and class.
T2lim: vector with T2 statistical limits for each class.
Qlim: vector with Q statistical limits for each class.
The following fields are available only if reference values were provided. - tp: number of true positives.
fp: nmber of false positives.
fn: number of false negatives.
specificity: specificity of predictions.
sensitivity: sensitivity of predictions.
Details
Class simcamres inherits all properties and methods of class classres, plus store values necessary to visualise prediction decisions (e.g. Cooman's plot or Residuals plot).
In cotrast to simcares here only values for optimal (selected) number of components in each individual SIMCA models are presented.
There is no need to create a simcamres object manually, it is created automatically when make a SIMCAM model (see simcam) or apply the model to a new data (see predict.simcam). The object can be used to show summary and plots for the results.