rep.booltype | R Documentation |
Creating new bit or bitwhich by recycling such vectors
## S3 method for class 'bit'
rep(x, times = 1L, length.out = NA, ...)
## S3 method for class 'bitwhich'
rep(x, times = 1L, length.out = NA, ...)
x |
bit or bitwhich object |
times |
number of replications |
length.out |
final length of replicated vector (dominates times) |
... |
not used |
An object of class 'bit' or 'bitwhich'
Jens Oehlschlägel
rep
, bit
, bitwhich
rep(as.bit(c(FALSE,TRUE)), 2)
rep(as.bit(c(FALSE,TRUE)), length.out=7)
rep(as.bitwhich(c(FALSE,TRUE)), 2)
rep(as.bitwhich(c(FALSE,TRUE)), length.out=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.