segment_define {googleAnalyticsR}R Documentation

Make a segment definition

Description

Defines the segment to be a set of SegmentFilters which are combined together with a logical AND operation.

segment_define is in the hierarchy of segment creation, for which you will also need:

Usage

segment_define(segment_filters, not_vector = NULL)

Arguments

segment_filters

A list of segment_vector_simple and segment_vector_sequence

not_vector

Boolean applied to each segmentFilter step. If NULL, assumed FALSE

Value

segmentDefinition object for segment_ga4

See Also

Other v4 segment functions: segment_element(), segment_ga4, segment_vector_sequence(), segment_vector_simple()


[Package googleAnalyticsR version 1.1.0 Index]