R/card.R

Defines functions card

Documented in card

# Copyright 2001 by Roger Bivand 
#

card <- function(nb) {
    if (!inherits(nb, "nb")) stop("not a neighbours list")
    z <- .Call("card", nb, PACKAGE="spdep")
    z
}
r-spatial/spdep documentation built on April 6, 2019, 2:16 a.m.