circular {sphet}R Documentation

Generate "circular" weighting matrices

Description

The function generates k-ahead and k-behind weighting matrices as in Kelejian and Prucha (1999)

Usage

circular(nrow, ncol, ab)

Arguments

nrow

number of rows

ncol

number of columns

ab

ahead - behind

Value

An object of class nb.

Author(s)

Gianfranco Piras gpiras@mac.com

Examples

ab.4<-circular(10, 10, 3)

[Package sphet version 1.7-1 Index]