check.dtype.for.data: Check whether the dtype is suitable for the data.

check.dtype.for.dataR Documentation

Check whether the dtype is suitable for the data.

Description

This function provides an educated guess on whether the given dtype is suitable for the data. It is usually called for the site effect of printing warnings in case something seems off.

Usage

check.dtype.for.data(data, mri_dtype_code)

Arguments

data

the data to check, a vector, matrix or array typically

mri_dtype_code

integer, the MRI data type code. See translate.mri.dtype.


freesurferformats documentation built on Sept. 9, 2025, 5:44 p.m.