nb2WB

0th

Percentile

Output spatial weights for WinBUGS

Output spatial weights for WinBUGS

Keywords
spatial
Usage
nb2WB(nb) listw2WB(listw)
Arguments
nb
an object of class nb
listw
a listw object from for example nb2listw
Value

A list suitable for convering using dput for WinBUGS

References

http://www.mrc-bsu.cam.ac.uk/bugs/winbugs/geobugs12manual.pdf

See Also

dput

Aliases
  • nb2WB
  • listw2WB
Examples
example(columbus)
x <- nb2WB(col.gal.nb)
dput(x, control=NULL)
x <- listw2WB(nb2listw(col.gal.nb))
dput(x, control=NULL)
Documentation reproduced from package spdep, version 0.6-9, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.