ganalytics (version 0.10.7)

Exclude: Exclude

Description

Set the negation flag of a segment filter to TRUE.

Usage

Exclude(object, ..., scope)

# S4 method for 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)

  • ANY: Define an exclude segment filter using the supplied expressions.

See Also

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

Examples

Run this code
# NOT RUN {
exclude_one_time_shoppers <- Exclude(
  Expr(~transactions == 1, metricScope = "perUser"),
  scope = "users"
)

# }

Run the code above in your browser using DataLab