as.im.fromFunction: as.im.fromFunction function

View source: R/spatialAtRiskClassDef.R

as.im.fromFunctionR 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


lgcp documentation built on Oct. 3, 2023, 5:08 p.m.