remake_img: Remake Image from Vector
Description
Wrapper function to take a vector of values and result in a
nifti
object
Usage
remake_img(vec, img, mask = NULL, warn = FALSE, ...)
Arguments
vec
vector of values to be in resulting image
img
object of class nifti
to put vector into mask
binary array/ nifti
object to denote where
vector values are to be. warn
Should a warning be issued if defaulting to FLOAT32?
Value
object of class nifti