Contact

Claudia Beleites
Chemometrische Beratung
Södeler Weg 19
61200 Wölfersheim/Germany
e-mail: chemometrie at beleites dot de

Extended binary arithmetic operators

hyperSpec’s binary arithmetic operators (+, -, *, /) now working for calculations on spectra matrix plus row or column-vector objects as well, so that many calls to sweep can now be more easily expressed, e.g.

Centering:

> plot (flu - colMeans (flu))

Normalization:

> plot (flu / rowMeans (flu))

Published: 2013-10-25 news