| rep2abI | R Documentation | 
rep2abI(x, times) conceptually computes
rep.int(x, times) but with an
abIndex class result.
rep2abI(x, times)
| x | numeric vector | 
| times | integer (valued) scalar: the number of repetitions | 
a vector of class abIndex
rep.int(), the base function;
abIseq, abIndex.
(ab <- rep2abI(2:7, 4))
stopifnot(identical(as(ab, "numeric"),
	   rep(2:7, 4)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.