Description Usage Arguments Author(s) See Also Examples

The function prints summary measures for links in a neighbours list. If a
matrix of coordinates is given as well, summary descriptive measures for
the link lengths are also printed. Print and summary functions are also available for `"listw"`

weights list objects, also reporting constants (S0, S1, S2) used in inference for global spatial autocorrelation statistics such as Moran's I, Geary's C, join-count tests and Getis-Ord G.

1 2 3 4 5 6 7 8 9 |

`object` |
an object of class |

`coords` |
matrix of region point coordinates or a SpatialPoints object |

`longlat` |
TRUE if point coordinates are longitude-latitude decimal degrees, in which case distances are measured in kilometers; if coords is a SpatialPoints object, the value is taken from the object itself |

`...` |
additional arguments affecting the output produced |

`x` |
an object of class |

`zero.policy` |
default NULL, use global option value; if FALSE stop with error for any empty neighbour sets |

`scale` |
passed through to |

Roger Bivand [email protected]

1 2 3 4 5 6 7 8 9 | ```
if (require(rgdal, quietly=TRUE)) {
example(columbus, package="spData")
coords <- coordinates(columbus)
col.gal.nb
summary(col.gal.nb, coords)
col.listw <- nb2listw(col.gal.nb, style="W")
col.listw
summary(col.listw)
}
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.