View source: R/inspect_apsim_xml.R
view_apsim_xml | R Documentation |
view an auxilliary XML apsim file.
view_apsim_xml(file, src.dir, viewer = c("json", "react"), ...)
file |
file ending in .xml to be viewed. |
src.dir |
directory containing the .xml file to be viewed; defaults to the current working directory |
viewer |
either “json” or “react”. |
... |
additional arguments passed to either ‘jsonedit’ or ‘reactjson’. |
view APSIM XML file
It does not return an object but it produces a tree display of the APSIM file.
extd.dir <- system.file("extdata", package = "apsimx")
view_apsim_xml("Maize75.xml", src.dir = extd.dir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.