Learn R Programming

RVerbalExpressions (version 0.0.0.9000)

rx_repeat_previous: Repeat the previous item exactly count times.

Description

Repeat the previous item exactly count times.

Usage

rx_repeat_previous(.data, n)

Arguments

.data

Expression to append, typically pulled from the pipe %>%

n

Number of times to repeat