IsNegated: IsNegated

Description Usage Arguments Methods (by class) See Also Examples

Description

Tests whether a segment filter is negated.

Sets the negation flag of a segment filter.

Usage

1
2
3
4
5
6
7
8
9
IsNegated(object)

IsNegated(object) <- value

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

## S4 replacement method for signature '.gaSegmentFilter,logical'
IsNegated(object) <- value

Arguments

object

An object belonging to the superclass .gaSegmentFilter.

value

The value of the negation slot, either TRUE or FALSE.

Methods (by class)

See Also

Other dynamic segment functions: DynSegment, Exclude, Include, PerHit, PerProduct, PerSession, PerUser, ScopeLevel, SegmentConditionFilter, Segments, Segment

Other dynamic segment functions: DynSegment, Exclude, Include, PerHit, PerProduct, PerSession, PerUser, ScopeLevel, SegmentConditionFilter, Segments, Segment

Examples

1
2
3
4
5
exclude_one_time_shoppers <- Exclude(
  Expr(~transactions == 1, metricScope = "perUser"),
  scope = "users"
)
IsNegated(exclude_one_time_shoppers) # TRUE

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