Learn R Programming

mcradds (version 1.1.1)

h_fmt_est: Format and Concatenate to String

Description

[Experimental]

Help function to format numeric data as strings and concatenate into a single character.

Usage

h_fmt_est(num1, num2, digits = c(2, 2), width = c(6, 6))

Value

A single character.

Arguments

num1

(numeric)
first numeric input.

num2

(numeric)
second numeric input.

digits

(integer)
the desired number of digits after the decimal point.

width

(integer)
the total field width.

See Also

h_fmt_num()

Examples

Run this code
h_fmt_est(num1 = 3.14, num2 = 3.1415, width = c(4, 4))

Run the code above in your browser using DataLab