Learn R Programming

RNiftyReg (version 1.1.5)

writeAffine: Write an affine matrix to a file

Description

This function is used to write a 4x4 numeric matrix representing an affine transformation to a file. The affineType attribute is also written, as a comment.

Usage

writeAffine(affine, fileName)

Arguments

affine
A 4x4 affine matrix.
fileName
A string giving the file name to write the matrix to.

See Also

write.table, readAffine, convertAffine