rep_list: Replicate element and output a list

Description Usage Arguments Examples

Description

Replicate element and output a list

Usage

1
rep_list(x, times)

Arguments

x

element to be repeated.

times

the number of times to repeat x.

Examples

1
2
3
rep_list(1:10, 5)
rep_list("hello world!", 3)
rep_list(list(list(1:5, NA), "a"), 3)

twolodzko/lolplyr documentation built on May 14, 2019, 8:22 a.m.