td_total_count {tdigest}R Documentation

Total items contained in the t-Digest

Description

Total items contained in the t-Digest

Usage

td_total_count(td)

## S3 method for class 'tdigest'
length(x)

Arguments

td

t-Digest object

x

a tdigest object

Value

double containing the size of the t-Digest

Examples

td <- td_create(10)
td_add(td, 0, 1)
td_total_count(td)
length(td)

[Package tdigest version 0.4.1 Index]