Learn R Programming

BayesfMRI (version 0.10.1)

scale_BOLD: Scale the BOLD timeseries

Description

Scale the BOLD timeseries

Usage

scale_BOLD(BOLD, scale = c("mean", "sd", "none"), v_means = NULL)

Value

Scale to units of percent local signal change and centers

Arguments

BOLD

fMRI data as a locations by time (\(V \times T\)) numeric matrix.

scale

Option for scaling the BOLD response.

v_means

Original means of the BOLD data. ONLY provide if data has already been centered.

\code{"mean"} scaling will scale the data to percent local signal change.

\code{"sd"} scaling will scale the data by local standard deviation.

\code{"none"} will only center the data, not scale it.