as.im.fromFunction: as.im.fromFunction function
Description
Convert an object of class fromFunction(created by
spatialAtRisk for example) into a spatstat im object.Usage
## S3 method for class 'fromFunction':
as.im(X, xyt, M = 100, N = 100, ...)
Arguments
X
an object of class fromSPDF
xyt
and objects of class stppp
M
number of cells in x direction
N
number of cells in y direction
Value
- object of class im containing normalised intensities