Learn R Programming

transDA (version 1.0.1)

summary.tda: Summarizing discriminant analysis results from function 'tda'

Description

Summary for the results of discriminant analysis obtained by function 'tda'

Usage

# S3 method for tda
summary(object, ...)
# S3 method for summary.tda
print(x, ...)

Value

Function 'summary.tda' calculates and returns a list of summary statistics for the model estimated by function 'tda'

Arguments

object

An object of class 'tda' produced by function 'tda'

x

An object of class 'summary.tda' obtained by function 'summary.tda'

...

Additional arguments that are passed to or from other methods

See Also

tda

Examples

Run this code
set.seed(123)
model <- tda(x = iris[,1:4], max_k = 2, ID = iris$Species, trans = FALSE)
summary(model)

Run the code above in your browser using DataLab