
Landscape Habitat Output Extension
OutputLandscapeHabitat.RdLandscape Habitat Output Extension
References
LANDIS-II Output Landscape Habitat v2 Extension User Guide https://github.com/LANDIS-II-Foundation/Extension-Output-Landscape-Habitat/blob/master/docs/LANDIS-II%20Landscape%20Habitat%20Output%20v2%20User%20Guide.pdf
Super class
LandisExtension -> OutputLandscapeHabitat
Active bindings
LocalVariables(Optional) Named list of
data.frames.DerivedLocalVariables(Optional) Named character vector.
NeighborhoodVariables(Optional)
data.frame.ClimateVariables(Optional)
data.frame.DistanceVariables(Optional)
data.frame.SpeciesModelsNamed list of
data.frames with columnsParameter,Type,Value.LocalVarMapFileNamesCharacter. Must contain the literal placeholders
{local-var-name}and{timestep}.NeighborVarMapFileNamesCharacter. Must contain the literal placeholders
{neighbor-var-name}and{timestep}.ClimateVarMapFileNamesCharacter. Must contain the literal placeholders
{climate-var-name}and{timestep}.DistanceVarMapFileNamesCharacter. Must contain the literal placeholders
{distance-var-name}and{timestep}.SpeciesMapFileNamesCharacter. Must contain the literal placeholders
{species-name}and{timestep}.SpeciesLogFileNamesCharacter. Must contain the literal placeholder
{species-name}.LogFileCharacter.
output_filesCharacter vector of output files (relative paths from the scenario directory) that this extension is expected to produce at run time. Subclasses override this to return their extension-specific log files, event CSVs, etc. These paths are collected by
scenario()and written tooutput_manifest.txtsotar_landis()can track them explicitly without relying onlist.files()discovery.Map files whose names depend on the timestep (e.g.
BiomassC-10.tif) are NOT included here; they are discovered bytar_landis()'soutput_dirscan instead.
Methods
Inherited methods
OutputLandscapeHabitat$new()
Usage
OutputLandscapeHabitat$new(
path,
Timestep = NULL,
LocalVariables = NULL,
DerivedLocalVariables = NULL,
NeighborhoodVariables = NULL,
ClimateVariables = NULL,
DistanceVariables = NULL,
SpeciesModels = NULL,
LocalVarMapFileNames = NULL,
NeighborVarMapFileNames = NULL,
ClimateVarMapFileNames = NULL,
DistanceVarMapFileNames = NULL,
SpeciesMapFileNames = NULL,
SpeciesLogFileNames = NULL,
LogFile = "output/landscape-habitat/landscape_habitat_log.csv"
)Arguments
pathCharacter. Directory path.
TimestepInteger. Years between updates.
LocalVariables(Optional) Named list mapping reclass map names to data frames with columns
ForestType,AgeRange,Species. Each row defines one forest-type/age/species rule.DerivedLocalVariables(Optional) Named character vector. Names are derived-variable names; values are arithmetic expressions referencing the local variables (e.g.
"reclass2[LowlandCon] + reclass2[LowlandHdwd]").NeighborhoodVariables(Optional)
data.framewith columnsName,LocalVar,NeighborRadius,Transform.ClimateVariables(Optional)
data.framewith columnsName,Year,Months,Source,ClimateVar,Transform.DistanceVariables(Optional)
data.framewith columnsName,LocalVar,Transform.SpeciesModelsNamed list. Each name is a species name; each value is a
data.framewith columnsParameter,Type,Valuedescribing the logistic-regression terms (use"intercept"for the intercept row).LocalVarMapFileNames(Optional) Character. Output template for local-variable maps; must contain the literal placeholders
{local-var-name}and{timestep}.NeighborVarMapFileNames(Optional) Character. Output template for neighborhood maps; must contain the literal placeholders
{neighbor-var-name}and{timestep}.ClimateVarMapFileNames(Optional) Character. Output template for climate maps; must contain the literal placeholders
{climate-var-name}and{timestep}.DistanceVarMapFileNames(Optional) Character. Output template for distance maps; must contain the literal placeholders
{distance-var-name}and{timestep}.SpeciesMapFileNames(Optional) Character. Output template for species-model maps; must contain the literal placeholders
{species-name}and{timestep}.SpeciesLogFileNames(Optional) Character. Output template for species log files; must contain the literal placeholder
{species-name}.LogFileCharacter. Relative file path for the main log.