Description Usage Arguments Value Author(s) Examples
Interface between Matrix class objects and weights list
1 | listw2dgCMatrix(listw, zero.policy = NULL)
|
listw |
a |
zero.policy |
See |
Matrix class object: a sparse Matrix
Gianfranco Piras gpiras@mac.com
1 2 3 4 | library(spdep)
data(columbus)
listw<-nb2listw(col.gal.nb)
spW<-listw2dgCMatrix(listw)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.