Learn R Programming

neurobase (version 1.32.4)

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, allow_array = FALSE, ...)

# S4 method for nifti checkimg(file, allow_array = FALSE, ...)

# S4 method for ANY checkimg(file, allow_array = FALSE, ...)

# S4 method for character checkimg(file, allow_array = FALSE, ...)

# S4 method for list checkimg(file, allow_array = FALSE, ...)

Value

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

Arguments

file

character or nifti object

allow_array

allow arrays to be passed in

...

options passed to tempimg

Author

John Muschelli muschellij2@gmail.com