as.list.tdigest | R Documentation |
These functions make it possible to create & populate a tdigest, serialize it out, read it in at a later time and continue populating it enabling compact distribution accumulation & storage for large, "continuous" datasets.
## S3 method for class 'tdigest'
as.list(x, ...)
as_tdigest(x)
x |
a tdigest object or a tdigest_list object |
... |
unused |
set.seed(1492)
x <- sample(0:100, 1000000, replace = TRUE)
td <- tdigest(x, 1000)
as_tdigest(as.list(td))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.