brackify: Convert vector to string

View source: R/util.R

brackifyR Documentation

Convert vector to string

Description

convert a vector like c(1, 4, 3, 2) into a string like ⁠[1, 4, 3, 2]⁠ (common aggregation method for error messages). See also data.table:::brackify().

Usage

brackify(x, quote = FALSE)

mrc-ide/threemc documentation built on Feb. 9, 2024, 5:16 p.m.