Faces occupied by the specified object
This function will return a facelayer
class object showing which faces are occupied by the input object.
occupied(gridObj, data, ...)
This is a wrapper function on the OccupiedFaces
methods that are specific to grid class and input data.
The function Returns a facelayer
-class object.
# create a grid g <- trigrid(8, sp=TRUE) # create random points randPoints <- rpsphere(100,output="polar") # the facelayer occupied by these points randomLayer <- occupied(g, randPoints) plot(randomLayer) points(randPoints, col="blue", pch="+")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.