as.im.fromSPDF {lgcp} | R Documentation |
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 class 'fromSPDF'
as.im(X, ncells = 100, ...)
Arguments
X |
an object of class fromSPDF |
ncells |
number of cells to divide range into; default 100 |
... |
additional arguments |
Value
object of class im containing normalised intensities
See Also
as.im.fromXYZ, as.im.fromSPDF, as.im.fromFunction, as.fromXYZ
[Package lgcp version 2.0 Index]