Learn R Programming

freesurferformats (version 1.1.0)

nrrd.parse.matrix: Parse a NRRD matrix value like '(1,0,0) (0,1,0) (0,0,1)'.

Description

Parse a NRRD matrix value like '(1,0,0) (0,1,0) (0,0,1)'.

Usage

nrrd.parse.matrix(value)

Value

numeric matrix, or NULL for 'none'.

Arguments

value

character string, the field value.