Wrapper of the TROLL C++ simulator with Rcpp.

trollCpp(
  global_file,
  climate_file,
  species_file,
  day_file,
  lidar_file,
  forest_file,
  output_file
)

Arguments

global_file

char. Path to the global parameters file.

climate_file

char. Path to the climate file.

species_file

char. Path to the species file.

day_file

char. Path to the daytime file.

lidar_file

char. Path to the lidar file.

forest_file

char. Path to the forest file.

output_file

char. Path to the output folder.

Value

Void with outputs files written in the defined folder.

Examples

if (FALSE) {
trollCpp(
  global_file = "test/test_input_global.txt",
  climate_file = "test/test_input_climate.txt",
  species_file = "test/test_input_species.txt",
  day_file = "test/test_input_daily.txt",
  lidar_file = "",
  forest_file = "",
  output_file = "test"
)
}