grid_partition
grid_partition.Rd
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)
X_range | Such as from |
---|---|
varnames | Names of the X-variables |
x | an R object |
Grid Partition
True if x is a grid_partition
is_grid_partition
: is grid_partition