expand_RPs {fMRItools}R Documentation

Expand realignment parameters (RPs)

Description

Compute the squares, differences, and square differences of each RP timeseries.

Usage

expand_RPs(RPs)

Arguments

RPs

A T \times N numeric matrix, where T is the number of timepoints and N is the number of RPs (typically six) to expand.

Value

A T \times 4N numeric matrix, with the first N columns being the original RPs, the next N being the differences, the next N being the squares, and the last N being the squared differences.


[Package fMRItools version 0.6.0 Index]