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

  • maxnumeric, maximum frontier size

  • averagenumeric, average frontier size

  • average_sqnumeric, average((frontier size)^2)

  • sequencenumeric 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")
}