round.ca: Round off to given number of decimals

Description Usage Arguments Value Author(s)

Description

Round off to given number of decimals.

Usage

1
round.ca(rnorm(100),1)

Arguments

x

is a vector of numeric values

decimals

is the number of requested decimals

Value

A vector with the rounded numbers.

Author(s)

Claus E. Andersen


claus-e-andersen/clanTools documentation built on Oct. 23, 2020, 7:59 a.m.