.RoundValues | R Documentation |
This function will round the input numbers by 2 digits, if the absolute of number is larger than or equal to 1. It will take 2 significant digits, if the absolute of number is less than 1.
.RoundValues(numbers)
numbers |
A vector of numeric values. It contains the numbers need to be rounded. |
A vector of rounded numbers.
Shuyu Zheng shuyu.zheng@helsinki.fi
Jing Tang jing.tang@helsinki.fi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.