Description Usage Arguments Details Value Author(s) Examples

`scan.nn`

determines the nearest
neighbors for a set of observations based on the
distance matrix according to a population-based
upperbound.

1 2 3 |

`d` |
An |

`pop` |
The population size associated with each region. |

`ubpop` |
The upperbound of the proportion of the total population to consider for a cluster. |

This function determines the nearest neighbors of each
centroid based on the intercentroid distance. The number
of nearest neighbors is limited by the sum of the
population values among the nearest neighbors. The set
of nearest neighbors can contain no more than ```
ubpop
* sum(pop)
```

members of the population. The nearest
neighbors are ordered from nearest to farthest.

Returns the indices of the nearest neighbors as a list. For each element of the list, the indices are ordered from nearest to farthest from each centroid.

Joshua French

1 2 3 4 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.