
Convert an object of class fromSPDF (created by spatialAtRisk for example) into a spatstat im object.
# S3 method for fromSPDF
as.im(X, ncells = 100, ...)
an object of class fromSPDF
number of cells to divide range into; default 100
additional arguments
object of class im containing normalised intensities
as.im.fromXYZ, as.im.fromSPDF, as.im.fromFunction, as.fromXYZ