int_sign | R Documentation |
sign()
A fast and integer-based sign()
int_sign(x)
x |
Integer or double vector. |
An integer vector denoting the sign, -1 for negatives, 1 for positives and 0
for when x == 0
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.