fullSimulation_unit_converter: Convert the units of a LandCoverSpread simulation

Description Usage Arguments Details Value

View source: R/unit_converter.R

Description

This function converts the units of all rasters (except landcover rasters) returned from the LandCoverSpread function.

Usage

1
2
3
4
5
fullSimulation_unit_converter(
  fullSimulation_results,
  unit_conversion_factor,
  dep_var_modified = TRUE
)

Arguments

fullSimulation_results

list. Object returned from the fullSimulation or fullSimulationApp function.

unit_conversion_factor

numerical. The value to be multiplied with all rasters for unit conversion.

dep_var_modified

logical. Indicates whether the dep_var was modified in LandCoverSpread

Details

This function simply multiplies the values of the values of the results of the simulation. If you modified the dependent variable in the simulation, you should specify dep_var_modified = TRUE.

Value

A list with the same length and contents as fullSimulation.


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