Learn R Programming

tdigest (version 0.4.2)

td_total_count: Total items contained in the t-Digest

Description

Total items contained in the t-Digest

Usage

td_total_count(td)

# S3 method for tdigest length(x)

Value

double containing the size of the t-Digest

Arguments

td

t-Digest object

x

a tdigest object

Examples

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

Run the code above in your browser using DataLab