View source: R/spacetime-nb-wt.R
spt_nb | R Documentation |
Given a an spdep neighbor list (or any other list indicating row position)
of neighbors in a spacetime
object's geometry context, create a neighbor
list across space and time in the data
context.
spt_nb(nb, n_times, n_locs, k = 1)
nb |
a neighbors list created from a spacetime object's geometry context. |
n_times |
the number of time slices |
n_locs |
the number of locations |
Note that this should only be used for spacetime cubes.
This function is only available for internal development and should be used with extreme caution.
The number of bins is equal to n_times * n_locs
where each location has
a bin time-series with n_times
observations. This is what makes it a
spacetime cube function.
a nb
list
https://pro.arcgis.com/en/pro-app/2.8/tool-reference/space-time-pattern-mining/create-space-time-cube.htm
spt_wt()
for converting spacetime neighbors to spacetime weights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.