MRIaggr-initMask: Initialization of the slice numbers

Description Usage Arguments Details

Description

Check and initialize the mask argument of a MRIaggr method. For internal use.

Usage

1
2
3
## S4 method for signature 'MRIaggr'
initMask(object, mask, test = TRUE, init = TRUE,
         format = "data.frame", arg_name = "mask", long_name = "mask", method)

Arguments

object

an object of class Carto3D or MRIaggr.

mask

the binary contrast parameters to check or initialize. character vector.

test

should the mask be checked ? logical.

init

should the mask be initialized ? logical. See the details section.

format

the format of the output. Any of "vector", "matrix" and "data.frame".

arg_name

a short name for the error message. character.

long_name

the complete name for the error message. character.

method

the name of the function that called the initializer. character.

Details

ARGUMENTS :
Setting init to TRUE leads to apply numeric2logical to each mask.


bozenne/MRIaggr documentation built on May 13, 2019, 1:39 a.m.