Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

segment_define

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


googleAnalyticsR

Google Analytics API into R

v1.0.0
MIT + file LICENSE
Authors
Mark Edmondson [aut, cre] (<https://orcid.org/0000-0002-8434-3881>), Artem Klevtsov [ctb], Johann deBoer [ctb], David Watkins [ctb], Olivia Brode-Roger [ctb], Jas Sohi [ctb], Zoran Selinger [ctb], Octavian Corlade [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.