ganalytics (version 0.10.4)

PerHit: PerHit.

Description

Set the scope of a gaMetExpr object to hit-level, or transforms a condition filter to a sequence filter of length one (i.e. a combination of conditions for matching a single hit).

Usage

PerHit(object, ..., negation)

# S4 method for .compoundExpr PerHit(object, ..., negation)

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

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

Arguments

object

a gaMetExpr object to coerce to hit-level or if multiple expressions are provided, then the first expression to combine into a single step of sequence filter.

...

Further expressions to be included in the filter definition if defining a sequence filter of length one.

negation

boolean value indicating whether to negate the condition.

Value

a gaMetExpr or gaSegmentSequenceFilter.

Methods (by class)

  • .compoundExpr: Create a single step sequence filter from the supplied expression.

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

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