regressoR (version 1.1.8)

as_string_c: as_string_c

Description

creates a string representative of a vector

Usage

as_string_c(vect, quote = TRUE)

Arguments

vect

a vector with values

quote

a logical value. If TRUE, the values on the vector will be surrounded by quotes.

Examples

Run this code
# NOT RUN {
as_string_c(c("A", "B", "C"))
as_string_c(c(5, 6, 7))
as_string_c(c(5, 6, 7), quote = FALSE)
as_string_c(iris$Species)

# }

Run the code above in your browser using DataCamp Workspace