Learn R Programming

AnalyzeFMRI (version 1.1-16)

nifti.quatern.to.mat44: Quaternion (etc..) to affine 4x4 matrix

Description

Generate a 4x4 affine matrix from a NIFIT header list.

Usage

nifti.quatern.to.mat44(L)

Arguments

L

a NIFTI header list

Value

The 4x4 affine matrix.

See Also

R2Q Q2R

Examples

Run this code
# NOT RUN {
L <- f.read.nifti.header(system.file("example-nifti.hdr", package="AnalyzeFMRI"))
nifti.quatern.to.mat44(L)
# }

Run the code above in your browser using DataLab