Replicate Integer Vector

DESCRIPTION:

Replicates a vector of storage mode integer a certain number of times.

USAGE:

rep.int(x, times) 

REQUIRED ARGUMENTS:

x
an object typically of storage mode "integer". Missing values (NA) are allowed.
times
number of times to replicate x.

VALUE:

a vector of storage mode "integer" which has length equal to times * length(x) containing the elements of x coerced to "integer" repeated cyclically.

DETAILS:

This function is used internally in the rep function.

SEE ALSO:

.