Calculate contiguity bonuses based on landuse similarity and writes them to a .dat file. The file
will be written to the location specified by the name
argument. If the file
already exists, it will be overwritten. The file format is plain text, with each
line terminated by a newline character.
Usage
LanduseCombination(
Landuses,
Filters,
parameter = "ContiguityBonus",
name = "Problem",
verbose = FALSE
)
Examples
LanduseCombination(Landuses = c("ForestDryPoor",
"ForestDryRich", "ForestWetPoor",
"ForestWetRich", "OpenDryPoor", "OpenDryRich", "OpenWetPoor",
"OpenWetRich"), Filters = c("Dry", "Wet"))
#> used (Mb) gc trigger (Mb) max used (Mb)
#> Ncells 1699000 90.8 3221740 172.1 2450018 130.9
#> Vcells 2549379 19.5 8388608 64.0 3627271 27.7
file.remove("Problem.dat")
#> [1] TRUE