dot-RoundValues: Round the Numbers for Plotting

.RoundValuesR Documentation

Round the Numbers for Plotting

Description

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.

Usage

.RoundValues(numbers)

Arguments

numbers

A vector of numeric values. It contains the numbers need to be rounded.

Value

A vector of rounded numbers.

Author(s)


shuyuzheng/synergyfinder documentation built on Feb. 20, 2023, 11:33 p.m.