parse_matrix: Parse xml node representing matrix to an R matrix.

Description Usage Arguments Details Value

View source: R/xml_utils.R

Description

Parses XML representation of java array of arrays from EPP .xml file.

Usage

1
parse_matrix(xml_node)

Arguments

xml_node

'xml_node' object representing a matrix.

Details

This uses parse_array to parse each array in turn then groups together into a matrix. If an array is missing at specified index this will add an NA row to the returned matrix at that index.

Value

Matrix


mrc-ide/specio documentation built on April 15, 2021, 8:37 a.m.