Learn R Programming

NoiseFiltersR (version 0.1.0)

summary.filter: Summary method for class filter

Description

This methods allows for appropriately displaying the most important information about a filtered dataset, contained in the S3 class filter.

Usage

"summary"(object, ..., explicit = FALSE)

Arguments

object
Object of class filter.
...
Additional arguments affecting the summary produced.
explicit
If set to TRUE, the indexes for removed and repaired instances (as well as new labels for the latters) are displayed. It defaults to FALSE.

Details

The information offered is the following:
  • Names of the dataset and the filter.
  • Original call to the filter.
  • Specific parameters used for the filter.
  • Results: number of removed and repaired instances (absolute number and percentage).
  • Additional information (if available, it depends on the filter).
  • Optionally, if explicit=TRUE, the indexes for removed and repaired instances, as well as the new labels.

Examples

Run this code
# Next example is not run in order to save time
## Not run: 
# # Example of filter with additional information available.
# data(iris)
# out <- edgeBoostFilter(Species~., data = iris)
# class(out)
# summary(out)
# summary(out, explicit = TRUE)
# ## End(Not run)

Run the code above in your browser using DataLab