Exclude: Exclude

Description Usage Arguments Value Methods (by class) See Also Examples

Description

Set the negation flag of a segment filter to TRUE.

Usage

1
2
3
4
Exclude(object, ..., scope)

## S4 method for signature 'ANY'
Exclude(object, ..., scope)

Arguments

object

A segment condition or sequence filter to include.

...

Additional segment conditions to include.

scope

Optional scope, "users" or "sessions" (default).

Value

A .gaSegmentFilter object with its negate slot set to TRUE.

Methods (by class)

See Also

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

Examples

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

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