This command converts a tessellation
(object of class "tess"
) to a function(x,y)
where the arguments x
and y
are (vectors of) spatial
coordinates. The corresponding function values are factor levels
identifying which tile of the tessellation contains each point.
Values are NA
if the corresponding point lies outside the
tessellation.
If the argument values
is given, then it determines the value
of the function in each tile of x
.