construct_information_graph: Construct an igraph graph object from the centroids of tracts...

Description Usage Arguments

Description

Construct an igraph graph object from the centroids of tracts stored as an sf data.frame, where tracts are linked iff adjacent.

Usage

1
construct_information_graph(tracts, data_df, divergence)

Arguments

tracts

an sf data.frame storing polygons in the geometry column

data_df

a tibble containing demographic data

divergence

the divergence function with which to compare demographic distributions, one of c(DKL, euc, cum_euc).


PhilChodrow/compositional-complexity documentation built on May 8, 2019, 1:33 a.m.