Learn R Programming

lgcp (version 1.8)

as.SpatialPixelsDataFrame.lgcpgrid: as.SpatialPixelsDataFrame.lgcpgrid function

Description

Method to convert lgcpgrid objects to SpatialPixelsDataFrame objects.

Usage

# S3 method for lgcpgrid
as.SpatialPixelsDataFrame(obj, ...)

Arguments

obj

an lgcpgrid object

...

additional arguments to be passed to SpatialPoints, eg a proj4string

Value

Either a SpatialPixelsDataFrame, or a list consisting of SpatialPixelsDataFrame objects.