Learn R Programming

mdatools (version 0.9.1)

getProbabilities.simca: Probability of class belonging for PCA/SIMCA results

Description

Computes probability of class belonging for each object based on Q and T2 residuls

Usage

# S3 method for simca
getProbabilities(obj, ncomp, Q, T2, ...)

Arguments

obj

object with SIMCA model

ncomp

number of components to compute the probabilities for.

Q

vector with Q values for selected component

T2

vector with T2 values for selected component

...

other arguments