as.im.fromSPDF: as.im.fromSPDF function
Description
Convert an object of class fromSPDF (created by spatialAtRisk for example) into a spatstat im object.
Usage
# S3 method for fromSPDF
as.im(X, ncells = 100, ...)
Arguments
X
an object of class fromSPDF
ncells
number of cells to divide range into; default 100
Value
object of class im containing normalised intensities