Learn R Programming

distillML (version 0.1.0.13)

set.grid.points: Sets grid points used for plotting PDP and ICE plots

Description

Method for setting grid points for a specific feature plot

Usage

set.grid.points(object, feature, values)

Arguments

object

The Interpreter class that we want to modify the grid points of.

feature

The name of the feature to set grid points for.

values

The set of new values to be used as the grid points for the selected feature. Must be a vector with entries in the range of the feature values in the training set and must match the type of the given feature (either a vector of factor levels or a vector of continuous feature values). Note that the center must be within the range of new grid points for continuous features.