R/nii.stub.R
nii.stub.Rd
Quick helper function to strip off .nii or .nii.gz from filename
nii.stub(x, bn = FALSE)
character vector of filenames ending in .nii or .nii.gz
Take basename of file?
basename
A character vector with the same length as x
x