R/mrs_data_proc.R
apply_mrs.Rd
Apply a function across given dimensions of a MRS data object.
apply_mrs(mrs_data, dims, fun, ..., data_only = FALSE)
MRS data.
dimensions to apply the function.
name of the function.
arguments to the function.
return an array rather than an MRS data object.