circular: Generate circular weigthing matrices

Description Usage Arguments Details Value Author(s) Examples

View source: R/circular.R

Description

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

Usage

1

Arguments

nrow

Number of rows

ncol

Number of columns

ab

Ahead - behind

Details

Generate circular weigthing matrices

Value

An object of class nb

Author(s)

Gianfranco Piras gpiras@mac.com

Examples

1
2
ab.3 <- circular(10, 10, 3)
ab.5 <-  circular(15, 15, 5)

sphet documentation built on Jan. 6, 2022, 1:06 a.m.