unit.rep | R Documentation |
Replicates the units according to the values given in times
and
length.out
.
This function has been deprecated in favour of a unit method for
the generic rep
function.
unit.rep(x, ...)
x |
An object of class |
... |
arguments to be passed to |
An object of class "unit"
.
Paul Murrell
rep
rep(unit(1:3, "npc"), 3) rep(unit(1:3, "npc"), 1:3) rep(unit(1:3, "npc") + unit(1, "inches"), 3) rep(max(unit(1:3, "npc") + unit(1, "inches")), 3) rep(max(unit(1:3, "npc") + unit(1, "strwidth", "a"))*4, 3) rep(unit(1:3, "npc") + unit(1, "strwidth", "a")*4, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.