Learn R Programming

lpda (version 1.2.0)

summary.lpda: Summarizing lpda classification

Description

summary method for class "lpda"

Usage

# S3 method for lpda
summary(object, datatest = object$data, grouptest=object$group,...)

# S3 method for summary.lpda print(x, ...)

Value

Confusion.Matrix

Table of confusion. Predicted classes in rows and real classes in columns, giving the hit (in the diagonal) and misclassification counts (out of the diagonal)

Arguments

object

Object of class inheriting from "lpda"

datatest

An optional data to predict their class and compare with real in the confusion matrix. If omitted, the original data is used.

grouptest

When datatest is specified, grouptest must also be specified and viceversa.

x

An object of class "summary.lpda", a result of a call to summary.lpda.

...

Other arguments passed.

Author

Maria Jose Nueda, mj.nueda@ua.es

See Also

lpda