Not: Not

Description Usage Arguments Methods (by class) See Also Examples

Description

Not inverts an expression, i.e. logical NOT.

Usage

 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
Not(object)

## S4 method for signature '.comparator'
Not(object)

## S4 method for signature '.comparator'
!x

## S4 method for signature '.expr'
Not(object)

## S4 method for signature '.expr'
!x

## S4 method for signature 'orExpr'
Not(object)

## S4 method for signature 'orExpr'
!x

## S4 method for signature '.gaSegmentFilter'
Not(object)

## S4 method for signature '.gaSegmentFilter'
!x

Arguments

object

An object to get the logical inverse of.

x

the object to return the logical inverse of.

Methods (by class)

See Also

Other boolean functions: And, Or, xor

Examples

1
2
3
source_matches_google <- Expr(~source %matches% "google")
source_not_matching_google <- Not(source_matches_google)
identical(source_not_matching_google, !source_matches_google)

ganalytics documentation built on May 2, 2019, 8:34 a.m.