as.im.fromFunction {lgcp}R Documentation

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

...

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]