# R API of H2O interprets monary operator “-x” as “1-x” instead of “0-x”

## Description

R package of H2O return wrong results when applies monary operator "-"

If we take a vector with different real values and calculate "-U", "0-U" and "1-U"

then we obtain this table, where -U is equal to 1-U instead of 0-U

I don't know if this is a problem with H2O or with the R API as I only know how to use the system through R.

Your pinned fields

Click on the next to a field label to start pinning.