nifti.field.check.nchar.max: Check whether character string fields have less than or equal...

View source: R/nifti_common.R

nifti.field.check.nchar.maxR Documentation

Check whether character string fields have less than or equal to expected length.

Description

Check whether character string fields have less than or equal to expected length.

Usage

nifti.field.check.nchar.max(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 max length of all fields

Value

logical, whether the checks were okay


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