rhrRasterFromExt: Create a raster

Description Usage Arguments Details Value Author(s)

View source: R/rhrRasterFromExtent.R

Description

Create a raster layer from extent

Usage

1
rhrRasterFromExt(ext, nrow = NULL, ncol = NULL, res = 1, sameRes = TRUE)

Arguments

ext

RhrRasterExt, giving the extent of the raster

nrow

numeric; number of rows

ncol

numeric; number of columns

res

numeric; the resolution

sameRes

logical; indicating if the same resolution be used in x and y direction

Details

This function wraps raster::rast and adds functionality to a take control over the resolution. Resolution is given precedence over nrow and ncol.

Value

raster

Author(s)

Johannes Signer


jmsigner/rhr documentation built on June 26, 2020, 8:59 a.m.