Description Usage Arguments Value See Also Examples
Similar as rep.int
in the base package but for ff
vectors.
1 | ffrep.int(x, times)
|
x |
an integer |
times |
integer |
An ff vector of integers where x is recycled
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ffrep.int(ff(1:1000), times=20)
ffrep.int(ff(factor(LETTERS)), times=20)
ffrep.int(ff(Sys.time()), times=20)
ffrep.int(ff(seq.Date(Sys.Date(), Sys.Date()+10, by = "day")), times=20)
x <- ff(factor(LETTERS), length=26)
ffrep.int(x, times=ff(1:26))
## Or supply an ff vector of the same length as x
x <- seq.Date(Sys.Date(), Sys.Date()+10, by = "day")
x <- as.ff(x)
ffrep.int(x, times=ff(0:10))
x <- ff(factor(LETTERS), length=26)
ffrep.int(x, times=ff(1:26))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.