Learn R Programming

fslr (version 1.9.2.1)

checkimg-methods: Force object to filename

Description

Ensures the output to be a character filename (or vector) from an input image or nifti.

Usage

checkimg(file, ...)
"checkimg"(file, ...)
"checkimg"(file, ...)
"checkimg"(file, ...)

Arguments

file
character or nifti object
...
options passed to tempimg

Value

character filename of image or temporary nii, with .nii extension