explore: Default method for exploring objects

View source: R/explore.r

exploreR Documentation

Default method for exploring objects

Description

The default method currently works for classification functions.

Usage

explore(model, data, n = 10000, method = "nonaligned", advantage = TRUE, ...)

Arguments

model

classification object

data

data set used with classifier

n

number of points to generate when searching for boundaries

method

method to generate points, see generate_data

advantage

only display boundaries

...

other arguments not currently used

Details

It generates a data set filling the design space, finds class boundaries (if desired) and then displays in a new ggobi instance.

Value

A invisible data frame of class classifly that contains all the simulated and true data. This can be saved and then printed later to open with rggobi.

See Also

generate_classification_data, http://had.co.nz/classifly

Examples

if (require("e1071")) {
bsvm <- best.svm(Species~., data = iris, gamma = 2^(-1:1),
  cost = 2^(2:+ 4), probability=TRUE)
explore(bsvm, iris)
}

classifly documentation built on May 20, 2022, 9:06 a.m.

Related to explore in classifly...