Learn R Programming

lgcp (version 1.8)

tempRaster: tempRaster function

Description

A function to create a temporary raster object from an x-y regular grid of cell centroids. Useful for projection from one raster to another.

Usage

tempRaster(mcens, ncens)

Arguments

mcens

vector of equally-spaced coordinates of cell centroids in x-direction

ncens

vector of equally-spaced coordinates of cell centroids in y-direction

Value

an empty raster object