as.im.fromSPDF: as.im.fromSPDF function

View source: R/spatialAtRiskClassDef.R

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


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