Binary operation on two nrrds, or on a nrrd and a constant

Nrrd2op(infiles, outfile, fun = c("max", "min", "+", "-", "x", "/"),
  gzip = FALSE, CreateDirs = TRUE, Verbose = TRUE, Force = FALSE)

Arguments

infiles

Input files

outfile

Output files

fun

Binary function or operator

gzip

Whether to gzip the resultant file

CreateDirs

Whether to create implied output directories

Verbose

Print status messages

Force

Whether to overwrite an existing file

Value

The number of input files