ChangeLandcover_to_ChangeDepVar: Run simulation of landcover spread and its effect on a...

Description Usage Arguments Details Value Examples

View source: R/ChangeLandcover_to_ChangeDepVar.R

Description

This function runs a simulation of landcover spread, using bootstrapped results. It returns a list of landcover rasters and a list of the rasters for your dependent variable; one for each year.

Usage

1
2
3
4
5
6
7
8
ChangeLandcover_to_ChangeDepVar(
  landcover_list,
  infest_val,
  suscep_val,
  dep_var_raster_initial,
  dep_var_raster_pred,
  dep_var_modifier
)

Arguments

landcover_list

A list of yearly landcover rasters, typically from the LandCoverSpread function

infest_val

numerical. Value of the landcover that will be spreading.

suscep_val

numerical. Vector of landcover values that are susceptible to the spread.

dep_var_raster_initial

raster. The initial raster for the dependent variable. It is recommended you use a raster of predicted values rather than raw data (i.e. use gls_spatial_predict() with landcover_val == 'ALL' specified).

dep_var_raster_pred

raster. A raster with predicted values for the dependent variable in all pixels susceptible to invasion. Usually a raster from gls_spatial_predict().

dep_var_modifier

numerical. A scalar to optionally return a list of rasters with modified dep_var rasters (e.g. multiply water yield rasters to obtain recharge rasters)

Details

TO DO

Value

TO DO

Examples

1
TO DO

natedemaagd/LandCover documentation built on April 1, 2021, 4:14 p.m.