apply_mrs: Apply a function across given dimensions of a MRS data...

View source: R/mrs_data_proc.R

apply_mrsR Documentation

Apply a function across given dimensions of a MRS data object.

Description

Apply a function across given dimensions of a MRS data object.

Usage

apply_mrs(mrs_data, dims, fun, ..., data_only = FALSE)

Arguments

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.


martin3141/spant documentation built on April 14, 2024, 4:15 a.m.