circle2Raster {lidaRtRee}R Documentation

Raster corresponding to circle extent

Description

Creates an empty raster which extents corresponds to the circle specified by center coordinates, radius and optional buffer size.

Usage

circle2Raster(X, Y, radius, resolution = 0.5, buffer = 0.5, ...)

Arguments

X

numeric. easting coordinate of plot center in meters

Y

numeric. northing coordinate of plot center in meters

radius

numeric. plot radius in meters

resolution

numeric. raster resolution in meters

buffer

numeric. buffer to be added to plot radius in meters

...

other parameters to pass to rast (e.g. crs)

Value

A SpatRaster object

Examples

circle2Raster(100, 100, 20, 1, 5)

[Package lidaRtRee version 4.0.5 Index]