powered by
APSIM soils can be stored as XML files (soils) and reading them in converts them into a list of individual objects of class ‘soil_profile’
read_apsim_soils(file, src.dir = ".", verbose = TRUE)
name of the file (the extension sohuld be .soils)
directory containing the .soils file (defaults to the current directory)
whether to print additional information about the progress of reading the individual soils in.
# \donttest{ extd.dir <- system.file("extdata", package = "apsimx") sls <- read_apsim_soils("Clarion.soils", src.dir = extd.dir) # }
Run the code above in your browser using DataLab