windDispGRASS: Dispersal of seeds by wind

Description Usage Arguments Details Value Author(s)

Description

Disperses seeds from a input raster layer in GRASS by using a 2 dimensional dispersal kernel matrix and stores the dispersed seeds in an output layer in RASS

Usage

1
windDispGRASS(SD2D, input, output="windDispSeeds", zeroToNULL = TRUE, overwrite=FALSE)

Arguments

SD2D

Sedd Dispersal kernel 2D - matrix defining the 2D seed dispersal kernel

input

name of GRASS raster layer specifying number of seeds to be dispersed - character

output

name of GRASS raster layer generated, containing the dispersed seeds - character

zeroToNULL

boolean if TRUE replace 0 with NA in the returned matrix, otherwise all NA will be replaced with 0

overwrite

boolean if TRUE, output will be overwritten if it exists

Details

This function is a wrapper around windDisp to facilitate the usage of GRASS as a backend. It retrieves the raster from GRASS and stores the resulting layer in GRASS again.

The MASK in GRASS is respected.

Value

invisibly character name of the output layer

Author(s)

Rainer M Krug Rainer@krugs.de


rkrug/seedDisp documentation built on July 6, 2019, 4:37 p.m.