We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e539e48 commit 0ea59caCopy full SHA for 0ea59ca
README.md
@@ -55,7 +55,20 @@ func main() {
55
for _, sample := range input {
56
lH.RecordValue(sample)
57
}
58
+
59
+ fmt.Println( lH.PercentilesPrint( 1, 1.0 ) )
60
+ // Output:
61
+ // Value Percentile TotalCount 1/(1-Percentile)
62
+ //
63
+ // 460031.000 0.000000 1 1.00
64
+ // 931839.000 0.500000 5 2.00
65
+ // 2478079.000 0.750000 8 4.00
66
+ // 3966975.000 0.875000 9 8.00
67
+ // 12722175.000 0.937500 10 16.00
68
+ // 12722175.000 1.000000 10 +Inf
69
+ // #[Mean = 2491481.600, StdDeviation = 3557920.109]
70
+ // #[Max = 12722175.000, Total count = 10]
71
+ // #[Buckets = 15, SubBuckets = 2048]
72
- fmt.Println( lH.PercentilesPrint( 1, 1.0 ) )
73
74
```
0 commit comments