# NOT RUN {
# get filename for example NII file included in nifti.io package
nii.eg <- system.file("extdata", "egBrain.nii", package="nifti.io")
# read entire volume into array
volume.values <- read.nii.volume(nii.file = nii.eg, vol.num = 1)
# }
Run the code above in your browser using DataLab