Learn R Programming

spant (version 1.1.0)

scale_amp_molal_pvc: Apply partial volume correction to a fitting result object.

Description

Apply partial volume correction to a fitting result object.

Usage

scale_amp_molal_pvc(fit_result, ref_data, p_vols, te, tr)

Arguments

fit_result

result object generated from fitting.

ref_data

water reference MRS data object.

p_vols

a numeric vector of partial volumes.

te

the MRS TE.

tr

the MRS TR.

Value

A fit_result object with a res_tab_molal_pvc data table added.