File: as.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 (40 lines) | stat: -rw-r--r-- 945 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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bit.R, R/generics.R
\name{as.booltype.default}
\alias{as.booltype.default}
\alias{as.booltype}
\title{Coerce to booltype (generic)}
\usage{
\method{as.booltype}{default}(x, booltype = "logical", ...)

as.booltype(x, booltype, ...)
}
\arguments{
\item{x}{object to coerce}

\item{booltype}{target \code{\link{booltype}} given as integer or as character}

\item{...}{further arguments}
}
\value{
\code{x} coerced to \code{booltype}
}
\description{
Coerce to booltype (generic)
}
\section{Methods (by class)}{
\itemize{
\item \code{default}: default method for as.booltype
}}

\examples{
as.booltype(0:1)
as.booltype(0:1, "logical")
as.booltype(0:1, "bit")
as.booltype(0:1, "bitwhich")
as.booltype(0:1, "which", maxindex=2)
as.booltype(0:1, "ri")
}
\seealso{
\code{\link{CoercionToStandard}}, \code{\link{booltypes}}, \code{\link{booltype}}, \code{\link{is.booltype}}
}