create_scenarios_bcrw: Create Biased Correlated Random Walk Scenarios (BCRW)

View source: R/fidelity_funs_create-scenarios.R

create_scenarios_bcrwR Documentation

Create Biased Correlated Random Walk Scenarios (BCRW)

Description

Function to generate one or more Biased Correlated Random Walk scenario/s.

Usage

create_scenarios_bcrw(rho, beta, lands)

Arguments

rho

Numeric vector (of any length) of autocorrelation parameter values

beta

Numeric vector (of any length) specifying values for the bias parameter.

lands

Either a RasterStack in output from sim_land or a character vector providing the paths to the landscape rasters to be loaded from disk and used in the simulation.

Value

Returns a data frame describing scenario/s, one row per scenario using all possible combinations of the specified parameter values, for a total of length(rho) * length(beta) * length(lands) rows. Includes columns rho, boundary_size (set to NA because not applicable to BCRW), habitat_effect (set to NA because not applicable to BCRW), beta, lands, and scenario_id (unique identifier for the scenario).


picardis/fidelity documentation built on Dec. 10, 2022, 6:16 a.m.