Debian Codegraph @

man/nin.Rd

raw
1 \name{negative match}
2 \alias{\%nin\%}
3 \title{Negative Match}
4 \description{
5 \code{\%nin\%}
6 is a convenience operator:
7 \code{x \%nin\% table}
8 is equivalent to
9 \code{!(x \%in\% table).}
10 }
11 \usage{
12 x \%nin\% table
13 }
14 \arguments{
15 \item{x}{the values to be matched}
16 \item{table}{a values to be match against}
17 }
18 \value{
19 A logical vector
20 }
21 \examples{
22 x <- sample(1:6,12,replace=TRUE)
23 x \%in\% 1:3
24 x \%nin\% 1:3
25 }