str_collapse: Collapse String List

Description Usage Arguments Value

Description

Collapses a list of strings but limits the number of strings collapsed to max_n

Usage

1
str_collapse(str_list, len, max_n = 2)

Arguments

len

An integer. Length over which to use only the first max_n strings.

max_n

An integer. Maximum number of strings to collapse.

Value

A string which is a comma separated list of collapsed strings.


nateaff/legolda documentation built on May 18, 2019, 10:15 a.m.