MCPcopy Create free account
hub / github.com/codechenx/FastTableViewer / getSummaryStr

Method getSummaryStr

stats.go:124–136  ·  view source on GitHub ↗
(a []string)

Source from the content-addressed store, hash-verified

122}
123
124func (s *ContinuousStats) getSummaryStr(a []string) string {
125 result := ""
126 s.summary(a)
127 summaryArray := s.getSummaryData()
128
129 for _, i := range summaryArray {
130 var n, v string
131 n, v = i[0], i[1]
132 result = result + "#" + n + " : " + v + "\n"
133 }
134
135 return result
136}
137
138// getPlot generates a histogram visualization for continuous data
139func (s *ContinuousStats) getPlot() string {

Callers 1

TestGetSummaryStrFunction · 0.95

Calls 2

summaryMethod · 0.95
getSummaryDataMethod · 0.95

Tested by 1

TestGetSummaryStrFunction · 0.76