powered by
Disable models in apsimx
disable_models(l, paths)
The modified list with new value
the list of apsimx file
If numeric, the path returned by search_path or search_node. If character, the path supported by apsimx
wheat <- read_apsimx(system.file("extdata/Wheat.json", package = "rapsimng")) a <- disable_models(wheat, '[Wheat].Phenology.ThermalTime')
Run the code above in your browser using DataLab