Description Usage Arguments Value
Compute numerical derivatives from data using weighted linear regression on each tract's 1-ego network.
1 | compute_derivatives(adj, r_sigma = 1, s_sigma = 1, smooth = F)
|
adj |
the adjacency matrix on which to compute. Must include centroids. |
r_sigma |
geographic bandwidth of the regression weight decay |
s_sigma |
if smooth = TRUE, the bandwidth of a geographic rbf smoother |
smooth |
boolean should the derivatives be computed on a geographically smoothed demographic distribution? |
a tract-level tibble with a column D_alpha giving the derivatives of demographic frequencies with respect to spatial coordinates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.