shpaste: function to create comma separated list with strings in...

Description Usage Arguments Value Examples

View source: R/func_shquote.R

Description

function to create comma separated list with strings in quotes

Usage

1
shpaste(text, sep)

Arguments

text

Vector containing the text. Can be in list format as well.

sep

The character or string you want to separate the single quoted strings. The default is a comma ','

Value

shpaste() The function returns one string with the items in a vector or list quoted and separated by a separator

Examples

1
2
3
4
5
ran_vect = runif(n = 10, min = 1, max = 100)
shpaste(ran_vect)
ran_list = lapply(ran_vect, function(x) x)
shpaste(ran_list)
shpaste(ran_list, '--')

bioticinteractions/conn.qk documentation built on May 28, 2019, 7:11 p.m.