simLBG: Simulates species distributions according to a defined...

Description Usage Arguments Value

View source: R/simLBG.R

Description

Simulates species distributions according to a defined probability grid (e.g. LBGtype())

Usage

1
simLBG(n = 10, layers, LBG, reps = 1, parallel = FALSE, write = FALSE)

Arguments

n

Integer. Number of species to simulate distributions for. Defaults to 10.

layers

RasterLayer. Landscape (study area) the user wishes to populate. Typically, raster should be masked to suitable environmental conditions (e.g. <200 m depth)

LBG

RasterLayer. Probability grid generated via the LBGtype function. The user can also input their own probability grids here.

reps

Integer. Number of simulation repliactions. Defaults to 1.

parallel

Logical. Implement parallel processing. Defaults to FALSE. Parallel processing is currently only supported for "unix" operating systems.

write

Logical. Save data to working directory. Defaults to FALSE.

Value

A dataframe of species occurrences (rep, species, x, y).


LewisAJones/LBGSim documentation built on March 28, 2020, 12:03 a.m.