createRaster: Create dummy rasters based on raster to match

View source: R/rasters.R

createRasterR Documentation

Create dummy rasters based on raster to match

Description

Create dummy rasters based on raster to match

Usage

createRaster(
  rtm = NULL,
  gaus = TRUE,
  rownumb = 20,
  colnumb = 20,
  xmn = -10,
  xmx = 10,
  ymn = -10,
  ymx = 10,
  sc = 100,
  vr = 5
)

Arguments

rtm

RasterLayer to use as template.

gaus

logical. If TRUE (default), creates raster using Gaussian map. If FALSE, creates a raster with all pixel values equal to 1.

rownumb

number of rows for the new raster, if rtm not provided.

colnumb

number of columns for the new raster, if rtm not provided.

xmn

min x extent, if rtm not provided.

xmx

max x extent, if rtm not provided.

ymn

min y extent, if rtm not provided.

ymx

max y extent, if rtm not provided.

sc

spatial scale, passed to gaussMap.

vr

spatial variance, passed to gaussMap.

Value

RasterLayer

Author(s)

Louis-Etienne Robert and Alex Chubaty


FOR-CAST/TriSectUtils documentation built on Nov. 19, 2024, 4:59 p.m.