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:
-
segment_define : AND combination of segmentFilters
-
segment_element that are combined in OR lists for
segment_vectors_*
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]