func (s Stats) ValueFor(stat Stat) float64 {
	return s.ValueBundle[stat]
}
ValueFor returns the float64 value for a particular Stat.  You should only use this if the Stats has Type StatsTypeValue
For example:

median := experiment.GetStats("length").ValueFor(gmeasure.StatMedian)

will return the median data point for the "length" Measurement.
package gmeasure
import (
	"fmt"
	"time"
	"github.com/onsi/gomega/gmeasure/table"
)
type Stat uint
const (
	StatInvalid Stat = iota
	StatMin
	StatMax
	StatMean
	StatMedian
	StatStdDev
)
var statEnumSupport = newEnumSupport(map[uint]string{uint(StatInvalid): "INVALID STAT", uint(StatMin): "Min", uint(StatMax): "Max", uint(StatMean): "Mean", uint(StatMedian): "Median", uint(StatStdDev): "StdDev"})
func (s Stat) String() string { return statEnumSupport.String(uint(s)) }
func (s *Stat) UnmarshalJSON(b []byte) error {
	out, err := statEnumSupport.UnmarshJSON(b)
	*s = Stat(out)
	return err
}
func (s Stat) MarshalJSON() ([]byte, error) { return statEnumSupport.MarshJSON(uint(s)) }
type StatsType uint
const (
	StatsTypeInvalid StatsType = iota
	StatsTypeValue
	StatsTypeDuration
)
var statsTypeEnumSupport = newEnumSupport(map[uint]string{uint(StatsTypeInvalid): "INVALID STATS TYPE", uint(StatsTypeValue): "StatsTypeValue", uint(StatsTypeDuration): "StatsTypeDuration"})
func (s StatsType) String() string { return statsTypeEnumSupport.String(uint(s)) }
func (s *StatsType) UnmarshalJSON(b []byte) error {
	out, err := statsTypeEnumSupport.UnmarshJSON(b)
	*s = StatsType(out)
	return err
}
func (s StatsType) MarshalJSON() ([]byte, error) { return statsTypeEnumSupport.MarshJSON(uint(s)) }
type Stats struct {
	Type StatsType
	ExperimentName string
	MeasurementName string
	Units string
	Style string
	PrecisionBundle PrecisionBundle
	N int
	ValueBundle map[Stat]float64
	DurationBundle map[Stat]time.Duration
	AnnotationBundle map[Stat]string
}
func (s Stats) String() string {
	return fmt.Sprintf("%s < [%s] | <%s> ±%s < %s", s.StringFor(StatMin), s.StringFor(StatMedian), s.StringFor(StatMean), s.StringFor(StatStdDev), s.StringFor(StatMax))
}