Learn R Programming

RMSNumpress (version 1.0.1)

optimalLinearFixedPointMass: optimalLinearFixedPointMass

Description

Compute the optimal linear fixed point with a desired m/z accuracy.

Usage

optimalLinearFixedPointMass(data, mass_acc)

Arguments

data

pointer to array of double to be encoded (need memorycont. repr.)

mass_acc

desired m/z accuracy in Th

Value

the linear fixed point that satisfies the accuracy requirement (or -1 in case of failure).