uls.zones: Determine sequence of ULS zones.

Description Usage Arguments Details Value Author(s) References Examples

Description

uls.zones determines the unique zones obtained by implementing the ULS (Upper Level Set) method of Patil and Taillie (2004).

Usage

1
uls.zones(cases, pop, w, ubpop = 0.5)

Arguments

cases

The number of cases in each region.

pop

The population size of each region.

w

The binary spatial adjacency matrix.

ubpop

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

Details

The zones returned must have a total population less than ubpop * the total population of all regions in the study area.

Value

Returns a list of zones to consider for clustering. Each element of the list contains a vector with the location ids of the regions in that zone.

Author(s)

Joshua French

References

Patil, G. P., and Taillie, C. (2004). Upper level set scan statistic for detecting arbitrarily shaped hotspots. Environmental and Ecological Statistics, 11(2), 183-197.

Examples

1
2
3
data(nydf)
data(nyw)
uls.zones(cases = nydf$cases, pop = nydf$population, w = nyw)


Search within the smerc package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.