Learn R Programming

fsbrain (version 0.4.2)

group.data.to.array: Convert group 1D data to array format.

Description

In general, 1D morphometry data for a group can be stored in a dataframe, a named list, or already a 4D array. This function will convert the given format to matrix format.

Usage

group.data.to.array(data)

Arguments

data

4D array, named list, or data.frame of group data. The data is expected to be a vector (1D) per subject, as suitable for surface based (vertex-wise) measures.

Value

the array form of the group data. No values are changed, this is only a different data type.