Learn R Programming

fslr (version 1.9.2.1)

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?
...
additional arguments passed to datatyper

Value

object of class nifti

See Also

niftiarr