Format: GUI: Build C-Style String Formats

Description Usage Arguments Value Author(s) See Also Examples

Description

A graphical user interface (GUI) for the system sprintf C-library function.

Usage

1
Format(sample = pi, fmt = "", parent = NULL)

Arguments

sample

logical, integer, numeric, character, or factor. Sample value

fmt

character. Conversion specification format, see sprintf.

parent

tkwin. GUI parent window

Value

Returns a character string.

Author(s)

J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center

See Also

format

Examples

1
2
3
4
5
6
7
## Not run: 
  Format(sample = pi, fmt = "%3.8f")
  Format(sample = 3L)
  Format(sample = TRUE)
  Format(sample = "string")

## End(Not run)

USGS-R/RSurvey documentation built on May 9, 2019, 6:10 p.m.