nii.stub: Grab nii file stubname

View source: R/nii.stub.R

nii.stubR Documentation

Grab nii file stubname

Description

Quick helper function to strip off .nii or .nii.gz from filename

Usage

nii.stub(x, bn = FALSE)

Arguments

x

character vector of filenames ending in .nii or .nii.gz

bn

Take basename of file?

Value

A character vector with the same length as x


neurobase documentation built on May 29, 2024, 2:17 a.m.