flatten_list_of_strings: Flattens and concatenates character vectors in a list

View source: R/utils.R

flatten_list_of_stringsR Documentation

Flattens and concatenates character vectors in a list

Description

Flattens and concatenates character vectors in a list

Usage

flatten_list_of_strings(strings)

Arguments

strings

A list of character vectors.

Value

Character vector, same length as the initial list.

Examples

words <- list("a", NULL, c("few", "words"), NA, c("to", "try"), c(NA, NA), c("and", NA, "finally"))
flatten_list_of_strings(words)

charlieccarey/monarchr documentation built on Dec. 12, 2023, 12:57 p.m.