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 March 20, 2024, 6:31 p.m.