Learn R Programming

lares (version 4.4)

vector2text: Convert a vector into a comma separated text

Description

Convert a vector into a comma separated text

Usage

vector2text(vector, sep = ", ", quotes = TRUE)

Arguments

vector

Vector. Vector with more than 1 observation

sep

Character. String text wished to insert between values

quotes

Boolean. Bring simple quotes for each observation (useful for SQL)