File: rep.booltype.Rd

package info (click to toggle)
r-cran-bit 4.0.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 996 kB
  • sloc: ansic: 5,083; makefile: 6
file content (42 lines) | stat: -rw-r--r-- 942 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bit.R
\name{rep.booltype}
\alias{rep.booltype}
\alias{rep.bit}
\alias{rep.bitwhich}
\title{Replicating bit and bitwhich vectors}
\usage{
\method{rep}{bit}(x, times = 1L, length.out = NA, ...)

\method{rep}{bitwhich}(x, times = 1L, length.out = NA, ...)
}
\arguments{
\item{x}{bit or bitwhich object}

\item{times}{number of replications}

\item{length.out}{final length of replicated vector (dominates times)}

\item{\dots}{not used}
}
\value{
An object of class 'bit' or 'bitwhich'
}
\description{
Creating new bit or bitwhich by recycling such vectors
}
\examples{

 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)
}
\seealso{
\code{\link{rep}}, \code{\link{bit}} , \code{\link{bitwhich}}
}
\author{
Jens Oehlschlägel
}
\keyword{classes}
\keyword{logic}