Learn R Programming

lgcp (version 1.8)

as.im.fromXYZ: as.im.fromXYZ function

Description

Convert an object of class fromXYZ (created by spatialAtRisk for example) into a spatstat im object.

Usage

# S3 method for fromXYZ
as.im(X, ...)

Arguments

X

object of class fromXYZ

...

additional arguments

Value

object of class im containing normalised intensities

See Also

as.im.fromSPDF, as.im.fromFunction, as.fromXYZ