Description Usage Arguments Value
View source: R/3ab_build_graph.R
Creates fastgreedy community graph for extracting regions
1 | build_graph(x, data, x.nb, similarity.measure, style)
|
x |
polygon or point data from witch neighborhood object will be created |
data |
data frame to build weights between polygons/points |
x.nb |
neighborhood object created by prepare_points() or prepare_polygons() |
similarity.measure |
method to calculate similarity/distance between neighboring points or polygons |
style |
style of neighborhood (see 'spdep::nb2listw“) |
a list containing community object ("fg") and graph object ("graph")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.