Learn R Programming

apsimx (version 2.2)

inspect_apsim_xml: Inspect an APSIM Classic auxiliary (XML) file

Description

inspect an auxiliary XML apsim file.

Usage

inspect_apsim_xml(
  file = "",
  src.dir = ".",
  parm,
  verbose = TRUE,
  print.path = TRUE
)

Arguments

file

file ending in .xml to be inspected.

src.dir

directory containing the .xml file to be inspected; defaults to the current working directory

parm

parameter to inspect.

verbose

Whether to print to standard output

print.path

Whether to print the parameter path

Value

it returns an absolute parameter path(s)

Examples

Run this code
# NOT RUN {
 
# }
# NOT RUN {
extd.dir <- system.file("extdata", package = "apsimx")

inspect_apsim_xml("Maize75.xml", src.dir = extd.dir,
                  parm = "leaf_no_rate_change")
                  
pp <- inspect_apsim_xml("Maize75.xml", src.dir = extd.dir,
                        parm = "leaf_no_rate_change",
                        verbose = FALSE, 
                        print.path = FALSE)
# }

Run the code above in your browser using DataLab