Rounding up to the Specified Number of Significant Digits in R Programming - signif() Function
signif() function in R Language is used to round to the specified number of significant digits. Syntax: signif(x, digits) Parameters: x: specified number digits: significant digits Example 1: Python3 # R program to illustrate # signif function # Generating random number x <- rnorm(1) x # Calling