predict.plfd: Predict Method for 'plfd'

View source: R/predict-plfd.R

predict.plfdR Documentation

Predict Method for plfd

Description

Predict Method for plfd

Usage

## S3 method for class 'plfd'
predict(object, x, y, ...)

Arguments

object

plfd object.

x

Array, matrix-variate data to be predicted.

y

Vector (optional), Labels of x with value 1 or 2.

...

Ignored currently.

Value

list(W, y.hat, mcr) with

  • W: discriminant scores;

  • y.hat: predicted labels;

  • mcr: misclassification rate if parameter y is available.


PLFD documentation built on June 8, 2025, 10:37 a.m.