showPredictions.classres: Show predicted class values

View source: R/classres.R

showPredictions.classresR Documentation

Show predicted class values

Description

Shows a table with predicted class values for classification result.

Usage

## S3 method for class 'classres'
showPredictions(obj, ncomp = obj$ncomp.selected, ...)

Arguments

obj

object with classification results (e.g. plsdares or simcamres).

ncomp

number of components to show the predictions for (NULL - use selected for a model).

...

other parameters

Details

The function prints a matrix where every column is a class and every row is an data object. The matrix has either -1 (does not belong to the class) or +1 (belongs to the class) values.


mdatools documentation built on Sept. 11, 2024, 7:59 p.m.