Description Usage Arguments Details Author(s) See Also Examples
Removes empty consecutive buckets at the tails of a histogram.
1 | TrimHistogram(x, left=TRUE, right=TRUE)
|
x |
A histogram object (created by |
left |
If |
right |
If |
Many data analysis pipelines write out histogram protocol buffers with thousands of buckets so as to be applicable in a wide range of contexts. This function provides a way to transform the histogram into one with fewer buckets by removing sparseness in the tails.
Murray Stokely mstokely@google.com
histogramtools-package
and
hist
.
1 2 3 4 5 6 |
[1] 9
[1] 3
[1] 3
[1] 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.