collapse_list: collapse list function

View source: R/format.R

collapse_listR Documentation

collapse list function

Description

collapses a list to a vector, useful for when a list is hiding in a dataframe and you need to convert it to a vector while collapsing vector elements like c("yes","yes,"no") to atomic elements like "yes, yes, no"

Usage

collapse_list(lst, delimeter = ", ")

Arguments

lst

list to collapse

delimeter

what is the lst delimited by. default is ", "

Examples

collapse_list_function()

clmacleod/highlandr documentation built on Oct. 11, 2023, 8:04 p.m.