Learn R Programming

redist (version 4.2.0)

redist.calc.frontier.size: Calculate Frontier Size

Description

Calculate Frontier Size

Usage

redist.calc.frontier.size(ordered_path)

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

Arguments

ordered_path

path to ordered path created by redist.prep.enumpart

Examples

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

Run the code above in your browser using DataLab