Learn R Programming

ganalytics (version 0.10.7)

SamplingLevel: SamplingLevel

Description

Get the sampling level.

Set the sampling level for a ganalytics query.

Usage

SamplingLevel(object, value)

SamplingLevel(object) <- value

# S4 method for .standardQuery,missing SamplingLevel(object)

# S4 method for .standardQuery,ANY SamplingLevel(object, value)

# S4 method for .standardQuery SamplingLevel(object) <- value

# S4 method for data.frame,ANY SamplingLevel(object)

Arguments

object

The query or response to check the sampling level of.

value

Optional. If object is a query, then value can be provided to set the sampling level to of that query, in which case an updated query object will be returned.

Methods (by class)

  • object = .standardQuery,value = missing: Return what level the sampling level of the query has been set to.

  • object = .standardQuery,value = ANY: Set the sampling level of the query.

  • .standardQuery: Set the sampling level of the query.

  • object = data.frame,value = ANY: Return details about any sampling that was applied in the response of the query.

See Also

Other query object functions: Dimensions, MaxResults, Metrics, SortBy, TableFilter

Other query object functions: Dimensions, MaxResults, Metrics, SortBy, TableFilter