ganalytics (version 0.10.4)

PerUser: PerUser.

Description

Set the scope of a .gaSegmentFilter or gaMetExpr object to user-level.

Usage

PerUser(object, ..., negation)

# S4 method for ANY PerUser(object, ..., negation)

# S4 method for gaMetExpr PerUser(object, ..., negation)

# S4 method for formula PerUser(object, ..., negation)

Arguments

object

a .gaSegmentFilter or gaMetExpr object to coerce to user-level. Alternatively, an dimension expression or segment filter to coerce into a user scoped gaDynSegment.

...

Other filters to include in the gaDynSegment.

negation

boolean value indicating whether to negate the condition.

Value

a gaMetExpr, .gaSegmentFilter or gaDynSegment.

To define a gaDynSegment comprised of a single metric expression, wrap the metric expression in an Include or Exclude call.

Methods (by class)

  • ANY: Create a user-level segment filter list from the supplied expressions, each interpreted as an include segment filter.

  • gaMetExpr: Set the scope of the supplied metric condition to user-level.

  • formula: Set the scope of the supplied non-standard-evaluation metric condition to user-level.