powered by
A graphical user interface (GUI) for the system sprintf C-library function.
sprintf
Format(sample = pi, fmt = "", parent = NULL)
logical, integer, numeric, character, or factor. Sample value
character. Conversion specification format, see sprintf.
tkwin. GUI parent window
Returns a character string.
format
# NOT RUN { Format(sample = pi, fmt = "%3.8f") Format(sample = 3L) Format(sample = TRUE) Format(sample = "string") # } # NOT RUN { # }
Run the code above in your browser using DataLab