Learn R Programming

EPX (version 1.0.4)

summary.epx: Summarising an "epx" object

Description

summary method for class "epx".

Usage

# S3 method for epx
summary(object, ...)

Arguments

object

Object of class "epx" returned by epx.

...

Further arguments passed to or from other methods.

Value

Prints a summary of the object returned by the phalanx-formation algorithm epx.

Examples

Run this code
# NOT RUN {
# Example with data(harvest)
# }
# NOT RUN {
## Phalanx-formation using a base classifier with 50 trees (default = 500)

set.seed(761)
model <- epx(x = harvest[, -4], y = harvest[, 4],
            classifier.args = list(ntree = 50))
summary(model)

## The summary agrees with
(model$PHALANXES)[[4]]
# }

Run the code above in your browser using DataLab