Note that currently if X has values more extreme (e.g., for numeric or factor levels ) than was used to generate the partition then we will return NA unless you provide and updated X_range.

# S3 method for grid_partition
predict(object, X, X_range = NULL, ...)

Arguments

object

partition

X

X data or list of X

X_range

(Optional) overrides the partition$X_range

...

Additional arguments. Unused.

Value

Factor