td_total_count: Total items contained in the t-Digest

View source: R/create.R

td_total_countR 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)

tdigest documentation built on Oct. 5, 2022, 1:07 a.m.