Learn R Programming

freesurferformats (version 1.1.0)

ornt2axcodes: Convert an orientation array to axis codes.

Description

Convert an orientation array to axis codes.

Usage

ornt2axcodes(ornt)

Value

character vector with one code per input axis, drawn from c('L','R','P','A','I','S'). Dropped axes become NA.

Arguments

ornt

numeric matrix with 2 columns, see io.orientation.