clldaRes: Class object used for storing the results of a...

Description Usage Arguments Value See Also

Description

‘predict.clldaRes’ Classifies multivariate observations in conjunction with a ‘clldaRes’ object.

‘print.clldaRes’ is the S3 print method for ‘clldaRes’ objects.

‘coef.clldaRes’ is the S3 coef method for ‘clldaRes’ objects.

Usage

1
2
## S3 method for class 'clldaRes'
predict(object, newdata, prior=object$prior, grpcodes=NULL,...)

Arguments

object

An object of class ‘clldaRes’.

newdata

Matrix of cases to be classified.

prior

The prior probabilities used.

grpcodes

Factor with the class codes. Set to 0:k-1 (k being the number of different classes) by default.

...

Further arguments passed to or from other methods.

Value

A list with components

class

The MAP classification (a factor)

x

The classification scores of the test cases.

See Also

Dlda, Mlda, Slda, RFlda, print, coef


HiDimDA documentation built on May 1, 2019, 10:52 p.m.