View source: R/mrs_data_proc.R
apply_mrs | R Documentation |
Apply a function across given dimensions of a MRS data object.
apply_mrs(mrs_data, dims, fun, ..., data_only = FALSE)
mrs_data |
MRS data. |
dims |
dimensions to apply the function. |
fun |
name of the function. |
... |
arguments to the function. |
data_only |
return an array rather than an MRS data object. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.