Learn R Programming

sits (version 0.11.0)

.sits_raster_api_new_rast: Raster package internal create raster object function

Description

Raster package internal create raster object function

Usage

.sits_raster_api_new_rast(
  nrows,
  ncols,
  xmin,
  xmax,
  ymin,
  ymax,
  nlayers,
  crs,
  ...
)

Arguments

nrows

Number of rows in the raster

ncols

Number of columns in the raster

xmin

X minimum of raster origin

xmax

X maximum of raster origin

ymin

Y minimum of raster origin

ymax

Y maximum of raster origin

nlayers

Number of layers of the raster

crs

Coordinate Reference System of the raster

...

additional parameters to be passed to raster package

Value

A raster object.