Learn R Programming

tdigest (version 0.4.2)

td_add: Add a value to the t-Digest with the specified count

Description

Add a value to the t-Digest with the specified count

Usage

td_add(td, val, count)

Value

the original, updated tdigest object

Arguments

td

t-Digest object

val

value

count

count

Examples

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

Run the code above in your browser using DataLab