Learn R Programming

AnalyzeFMRI (version 1.1-11)

st2xyzt: st2xyzt

Description

Encode space and time dimensions fields into the one byte xyzt.units field of a NIFTI header file.

Usage

st2xyzt(space,time)

Arguments

time
time field of a NIFTI file

Value

  • A list containing xyzt.units field.

See Also

xyzt2st

Examples

Run this code
xyzt.units <- f.read.header(system.file("example-nifti.hdr", package="AnalyzeFMRI"))$xyzt.units
mylist <- xyzt2st(xyzt.units)
st2xyzt(mylist$space,mylist$time)

Run the code above in your browser using DataLab