R/vctrs-deprecated.R

vec_repeat.Rd

vec_repeat() has been replaced with vec_rep() and vec_rep_each() and is deprecated as of vctrs 0.3.0.

vec_repeat()

vec_rep()

vec_rep_each()

vec_repeat(x, each = 1L, times = 1L)

A vector.

Number of times to repeat each element of x.

x

Number of times to repeat the whole vector of x.

A vector the same type as x with size vec_size(x) * times * each.

vec_size(x) * times * each