circular: Generate "circular" weighting matrices

Description Usage Arguments 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

Value

An object of class nb.

Author(s)

Gianfranco Piras gpiras@mac.com

Examples

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

sphet documentation built on May 31, 2017, 1:55 a.m.

Search within the sphet package
Search all R packages, documentation and source code