bucketCount#

swordfish.function.bucketCount()#

Accept the same set of parameters as the function bucket and return the count for each bucket.

Parameters:
  • vector (Constant) – A numeric or temporal vector

  • dataRange (Constant) – A pair indicating the data range, which includes the lower bound and excludes the upper bound.

  • bucketNum (Constant) – The number of buckets. When dataRange is specified as an INT PAIR, its range must be a multiple of bucketNum.

  • includeOutbound (Constant, optional) – A Boolean value indicating whether to include the bucket below the lower bound of the data range and the bucket beyond the upper bound of the data range, by default DFLT.