Create a empty partition. Splits can be added using add_partition_split. Information about a split can be retrieved using num_cells, get_desc_df and print With data, one can determine the cell for each observation using predict

Test whether an object is an grid_function

grid_partition(X_range, varnames = NULL)

is_grid_partition(x)

Arguments

X_range

Such as from get_X_range

varnames

Names of the X-variables

x

an R object

Value

Grid Partition

True if x is a grid_partition

Functions

  • is_grid_partition: is grid_partition