Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

formatF

Format numeric values.


Description

Format numeric values.

Usage

formatF(x, nsmall = 3)

Arguments

x

A number or numeric vector.

nsmall

Number of decimal places of output. Default is 3.

Value

Formatted character string.

See Also

Examples

formatF(pi, 20)

bruceR

Broadly Useful Convenient and Efficient R Functions

v0.6.2
GPL-3
Authors
Han-Wu-Shuang Bao [aut, cre]
Initial release
2021-04-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.