powered by
Creates a nice string representation of a variable value.
frmt(x, show_class = FALSE, use_quotes = TRUE)
variable for which a string representation is created.
whether to show the class of x. Defaults to FALSE.
x
FALSE
whether to use single quotation marks (default: TRUE).
TRUE
A character vector with the string representation of x.
# NOT RUN { frmt(c(1,2,3)) # }
Run the code above in your browser using DataLab