Learn R Programming

freesurferformats (version 1.1.0)

cifti.xml.add.metadata: Add a MetaData element to an XML node.

Description

Add a MetaData element to an XML node.

Usage

cifti.xml.add.metadata(node, metadata)

Value

NULL, invisibly. The element is added as a child of node.

Arguments

node

an xml2 node, the parent element.

metadata

named character vector, named list or NULL, the name/value pairs.