ganalytics (version 0.10.7)

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 gaSegmentSequenceStep PerUser(object, ..., negation)

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

Methods (by class)

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

  • gaSegmentSequenceStep: Create a user-level segment sequence filter from the supplied sequence expression.

  • gaSegmentSequenceFilter: Create a user-level segment sequence filter from the supplied sequence expression.

  • 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.

See Also

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

Examples

Run this code
# NOT RUN {
spent_more_than_100_per_user <- PerUser(Expr(~transactionRevenue > 100))

# }

Run the code above in your browser using DataLab