Learn R Programming

spant (version 3.3.0)

scale_mrs_amp: Scale an mrs_data object by a scalar or vector or amplitudes.

Description

Scale an mrs_data object by a scalar or vector or amplitudes.

Usage

scale_mrs_amp(mrs_data, amp)

Value

mrs_data object multiplied by the amplitude scale factor.

Arguments

mrs_data

data to be scaled.

amp

multiplicative factor, must have length equal to 1 or Nspec(mrs_data).