Get the list of segments from the object or coerce the supplied objects into a a named list of segments.
Set the segments of the query object.
Segments(object, ...)Segments(object) <- value
# S4 method for gaSegmentList
Segments(object)
# S4 method for gaQuery
Segments(object)
# S4 method for ANY
Segments(object)
# S4 method for gaQuery
Segments(object) <- value
A query object to get the segment list from or to set the segment list of.
Alternatively, provide one or more named arguments (segments or objects that can be coerced into segments) including dynamic segments, built-in and/or custom segments by their ID.
A named list of segments or a single segment.
a gaSegmentList
gaSegmentList
: Returns itself
gaQuery
: Return the definition of the segment applied to the view.
ANY
: Coerce an object into a segmentList of length 1.
gaQuery
: Set the segments to be used within a query.