stat/spatial: fix example name and add package doc

This commit is contained in:
kortschak
2017-07-24 09:44:08 +09:30
committed by Dan Kortschak
parent 185d1d1b99
commit 10d593a507
3 changed files with 8 additions and 2 deletions

View File

@@ -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