ppm: PPM - Parts per Million

Description Usage Arguments Value Author(s) Examples

View source: R/ppm.R

Description

ppm is a small helper function to determine the parts-per-million for a user-provided value and ppm.

Usage

1
ppm(x, ppm)

Arguments

x

numeric, value(s) used for ppm calculation, e.g. mz value(s).

ppm

numeric, parts-per-million (ppm) value(s).

Value

numeric: parts-per-million of x

Author(s)

Sebastian Gibb

Examples

1
ppm(c(1000, 2000), 5)

MsCoreUtils documentation built on Nov. 8, 2020, 10:59 p.m.