collapse: Collapse a vector to a string

Description Usage Arguments Details Value Author(s) Examples

View source: R/collapse.R

Description

Intended for internal use.

Usage

1
collapse(x, sep = ";")

Arguments

x

a 1 column or 1 row data.frame or data.table, or a vector with n elements.

sep

the seperator of the collapsed elements

Details

Used to setup the cfg.ini, daisy_miner_nitrogen.ini, and leachn.ini

Value

character vector of collapsed elements seperated by sep.

Author(s)

Tobias KD Weber , tobias.weber@uni-hohenheim.de

Examples

1
2
3
4
## Not run: 
result <- collapse(c("f", "g"))

## End(Not run)

tkdweber/XN5setup documentation built on July 4, 2021, 7:34 a.m.