round.ca: Round off to given number of decimals

round.caR Documentation

Round off to given number of decimals

Description

Round off to given number of decimals.

Usage

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 June 2, 2024, 6:23 a.m.