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 1734949 92.7 3301388 176.4 2480805 132.5
#> Vcells 2597637 19.9 8388608 64.0 5371240 41.0
file.remove("Problem.dat")
#> [1] TRUE