Description Objects from the Class Slots Methods Author(s) See Also Examples
A class representing a local spatial neighbourhood.
Objects can be created by calls of the form new("neighbourhood", ...)
, from the constructor neighbourhood
or through the easier function getNeighbours
.
Object of class data.frame
holding the data for each local neighbourhood.
Object of class matrix
providing the separating distances per neighbourhood.
Object of class matrix
pointing to the IDs of the underlying Spatial
object.
Object of class character
giving the variable's name.
Object of class character
giving the covariate's name.
of class logical
, whether this neighbourhood is suited for fitting or prediction purposes.
signature(x = "neighbourhood")
: provides the variable names of the neighbourhood.
signature(object = "neighbourhood")
: a brief description of the characteristics of the neighbourhood.
signature(x = "neighbourhood", i = "numeric", j = "missing")
: subsets the selection of neighbourhoods returning a subset of these ("column wise")
signature(data = "neighbourhood")
: calculates bins from an existing neighbourhood for repeated application of spatio-temporal trees in a spatio-temporal vine copula.
Benedikt Graeler
1 2 3 4 5 | library("sp")
spdf <- data.frame(x=c(112,154,212,289),y=c(124,198,85,168),measure=rlnorm(4))
coordinates(spdf) <- ~x+y
getNeighbours(spdf,size=4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.