num_rep: Replicate a Vector of Elements n times

View source: R/RcppExports.R

num_repR Documentation

Replicate a Vector of Elements n times

Description

This function takes a vector and replicates all of the data n times

Usage

num_rep(x, n)

Arguments

x

A vec containing the data

n

An unsigned int indicating the number of times the vector should be repeated.

Value

A vec with repeated elements of the initial supplied vector.


SMAC-Group/simts documentation built on Sept. 4, 2023, 5:25 a.m.