[go: up one dir, main page]

File: nbmult.Rd

package info (click to toggle)
r-cran-spacetime 1.3-3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,240 kB
  • sloc: sh: 13; makefile: 2
file content (31 lines) | stat: -rw-r--r-- 1,063 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
\name{nbMult}
\alias{nbMult}
\alias{nbMult}
\title{ convert a spatial nb object to a matching STF object }
\description{ convert a spatial nb object to a matching STF object }
\usage{ 
nbMult(nb, st, addT = TRUE, addST = FALSE)
}
\arguments{
\item{nb}{ object of class nb (see package spdep), which is valid for
the spatial slot of object \code{st}: \code{length(nb)} should equal
\code{length(st@sp)}}
\item{st}{ object of class STF }
\item{addT}{ logical; should temporal neighbours be added? }
\item{addST}{ logical; should spatio-temporal neighbours be added? }
}
\value{ object of class \code{nb} }
\details{ if both \code{addT} and \code{addST} are false, only
spatial neighbours are added for each time replicate.

details are found in 

Giovana M. de Espindola, Edzer Pebesma, Gilberto
Câmara, 2011.  Spatio-temporal regression
models for deforestation in the Brazilian Amazon.
STDM 2011, The International Symposium on Spatial-Temporal Analysis
and Data Mining, University College London - 18th-20th July 2011.
}

\author{Edzer Pebesma}
\keyword{manip}