Skip to contents

Calculate the parts per million error between a measured m/z and a theoretical m/z.

Usage

ppmError(measured, theoretical)

Arguments

measured

measured mass to charge ratio

theoretical

theoretical mass to charge ratio

Value

The parts per million error.

Examples

ppmError(118.08626,118.08647)
#> [1] -1.778357842