format_dec: Format floating point numbers with two decimals for pretty...

Description Usage Arguments Value See Also Examples

Description

format_dec outputs the given numeric vector with two decimals for pretty printing.

Usage

1
format_dec(x, nsmall = 2, ...)

Arguments

x

The numeric vector.

Value

A character version of x where only two decimals are used.

See Also

format

Examples

1
2
3
4
5
## Not run: 
format_dec(vars$aaf.1KG)
format_dec(vars$esp6500_all)

## End(Not run)

bahlolab/varpr documentation built on May 11, 2019, 5:26 p.m.