sequential_segment: sequential_segment.

Description Usage Arguments Details Examples

View source: R/sequence.R

Description

Create a sequence using non-standard evaluation syntax.

Usage

1

Arguments

steps

a list of expressions (of one or more conditions), each repeating a step in the sequence.

Details

Steps must be separated by commas (,). ... denotes zero or more interactions may precede the step that follows, otherwise without ... then the there must not be any interactions between the adjacent steps in order for the results to match the sequence.

Examples

1
2
3
4
5
a <- Expr(~pagePath == "/home")
b <- Expr(~eventCategory == "Video") &
  Expr(~eventAction == "Play")
c <- Expr(~medium == "email")
s <- sequential_segment(list( ..., a, ..., b, c ))

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