aboutsummaryrefslogtreecommitdiff
path: root/print.go
diff options
context:
space:
mode:
Diffstat (limited to 'print.go')
-rw-r--r--print.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/print.go b/print.go
index 2a39c71..8bdeea3 100644
--- a/print.go
+++ b/print.go
@@ -7,12 +7,14 @@ import (
// Prints each calculated statistic on a line with one tab preceding it
func (s *Stats) PrettyStats() string {
return fmt.Sprintf(`
+ Min: %.2f
+ Max: %.2f
Mean: %.2f
Variance: %.2f
Standard Deviation: %.2f
Skewness: %.2f
Kurtosis: %.2f
-`, s.Mean(), s.Variance(), s.StandardDeviation(), s.Skewness(), s.Kurtosis())
+`, s.Min, s.Max, s.Mean(), s.Variance(), s.StandardDeviation(), s.Skewness(), s.Kurtosis())
}
// Returns a string containing all of the data within the struct