collapse_along: Cumulatively collapse along a vector

Description Usage Arguments Examples

View source: R/misc.R

Description

Cumulatively collapse along a vector

Usage

1
collapse_along(x, collapse = "/")

Arguments

x

The character vector to collapse

collapse

The character to use for collapsing

Examples

1
2
x <- c("","data","exon","i")
collapse_along(x)

AllenInstitute/scrattch.io documentation built on Nov. 17, 2021, 10:06 a.m.