stat/spatial: fix example name and add package doc
MODIFY
stat/spatial/spatial.go
stat/spatial/spatial.go
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-package spatial // import "gonum.org/v1/gonum/stat/spatial"
+package spatial
import (
"math"

MODIFY
stat/spatial/spatial_example_test.go
stat/spatial/spatial_example_test.go
@@ -38,7 +38,7 @@ func ExampleGlobalMoransI_linear() {
// Moran's I=0.1111 z-score=0.6335
}
-func ExampleGetisOrd() {
+func ExampleGetisOrdGStar() {
data := []float64{0, 0, 0, 1, 1, 1, 0, 1, 0, 0}
// The locality here describes spatial neighbor

stat/spatial: fix example name and add package doc