Calculate Frontier Size

redist.calc.frontier.size(ordered_path)

Arguments

ordered_path

path to ordered path created by redist.prep.enumpart

Value

List, four objects

  • max numeric, maximum frontier size

  • average numeric, average frontier size

  • average_sq numeric, average((frontier size)^2)

  • sequence numeric vector, lists out all sizes for every frontier

Examples

if (FALSE) {
data(fl25)
adj <- redist.adjacency(fl25)
redist.prep.enumpart(adj, "unordered", "ordered")
redist.calc.frontier.size("ordered")
}