Description Usage Arguments Details Value Author(s) See Also Examples
repfromto virtually recylcles object x and cuts out positions from .. to
1 2 |
x |
an object from which to recycle |
from |
first position to return |
to |
last position to return |
value |
value to assign |
repfromto is a generalization of rep, where rep(x, n) == repfromto(x, 1, n).
You can see this as an R-side (vector) solution of the mod_iterate macro in arithmetic.c
a vector of length from - to + 1
Jens Oehlschlägel
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.