nifti.field.check.length: Check whether vector has expected length.

View source: R/nifti_common.R

nifti.field.check.lengthR Documentation

Check whether vector has expected length.

Description

Check whether vector has expected length.

Usage

nifti.field.check.length(niiheader, fields, dlength)

Arguments

niiheader

named list, representing a NIFTI v1 or v2 header

fields

vector of character string, the field names to check

dlength

integer, the expected length of all fields

Value

logical, whether the checks were okay


freesurferformats documentation built on May 29, 2024, 5:29 a.m.