Wraps wb_command -metric-math to perform element-wise mathematical
operations on metric files at each surface vertex.
Usage
metric_math(
expression,
metric_out,
var,
fixnan = FALSE,
verbose = get_wb_verbosity()
)Value
The result of the underlying wb_cmd() call.
Examples
if (FALSE) { # \dontrun{
metric_math(
"abs(x - y)",
metric_out = "diff.func.gii",
var = list(x = "post.func.gii", y = "pre.func.gii")
)
} # }