Description Usage Arguments Value Examples

Repeat each element x_i in X, n_i times.

1 | ```
repEach(x, n)
``` |

`x` |
Values to be repeated |

`n` |
Number of repeat for each x_i (same length as x) |

Vector with values from x, n times

1 | ```
repEach(1:3, 1:3) ## 1, 2, 2, 3, 3, 3
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.