list_deepest | R Documentation |
list_deepest
receives an object and transforms it
and all its elements in a list of lists keeping the original attributes'
structure.
list_deepest(object)
object |
A |
Return a list
of list
s using the attributes' structure
from the original object.
rootPath <- system.file(package = "simutils") xmlFile <- file.path(rootPath, "extdata/input_files", "simulation.xml") xmlObject <- xml2::as_list(xml2::read_xml(xmlFile)) list_deepest(xmlObject)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.