Description Usage Arguments Value
Compute the pullback metric tensor from an sf data frame and an accompanying set of demographic data.
1 2 | compute_metric(tracts, data, km = T, r_sigma = 100, s_sigma = 1,
smooth = F, hessian = euc_)
|
tracts |
the sf data.frame supplying geographic information |
data |
the tibble supplying demographic data |
km |
whether to compute rectangular distances in km |
r_sigma |
regression smoother for derivative computation |
s_sigma |
geographic smoother for derivative computation |
smooth |
boolean should a geographic smoother be used for derivatives? |
hessian |
the hessian function to be used, one of c(DKL_, euc_, cum_euc_) |
a tibble in which each row has a list-column containing the pullback metric tensor stored as a matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.