to_xml_list | R Documentation |
Helper to convert R list to xml node (character representation).
to_xml_list(x, name, kids, indent = " ", escape = "\n")
x |
a list to convert |
name |
name of the node to create |
kids |
a list containing children xml nodes elements (each elements should come from to_xml_list) |
indent |
indent used for kids when provided. Default is " ". |
escape |
escape used for kids when provided. Default is "\n". |
it acts as_list but value returned is different, with attributes expanded to sublists rather than recovered as attributes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.