frmt: Format variable value

Description Usage Arguments Value Examples

View source: R/misc-utils.R

Description

Creates a nice string representation of a variable value.

Usage

1
frmt(x, show_class = FALSE, use_quotes = TRUE)

Arguments

x

variable for which a string representation is created.

show_class

whether to show the class of x. Defaults to FALSE.

use_quotes

whether to use single quotation marks (default: TRUE).

Value

A character vector with the string representation of x.

Examples

1
frmt(c(1,2,3))

hgvandenboorn/hgutils documentation built on Sept. 9, 2019, 2:50 a.m.