birdDispGRASS: Dispersal of seeds by birds

Description Usage Arguments Details Value Author(s)

Description

Seed dispersal by birds from a seed layer using GRASS

Usage

1
birdDispGRASS(input, output, zeroToNULL, overwrite)

Arguments

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 is a "dumb" implementation of sedd dispersal by birds, simply randomly distributing all seeds in the output raster.

The resulting seed layer is saved and, if it exists and overwrite==TRUE, overwritten.

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.