Learn R Programming

sss (version 0.2.2)

repN: Repeats each element n times

Description

Each element is repeated n times. This is used to construct a vector of the new length after accounting for fields of type multiple

Usage

repN(n)

Arguments

n

Numeric vector that indicates the number of times each row must be repeated