uls.zones | R Documentation |
uls.zones
determines the unique zones obtained by
implementing the ULS (Upper Level Set) test of Patil and
Taillie (2004).
uls.zones(cases, pop, w, ubpop = 0.5, check.unique = FALSE)
cases |
The number of cases observed in each region. |
pop |
The population size associated with each region. |
w |
A binary spatial adjacency matrix for the regions. |
ubpop |
The upperbound of the proportion of the total population to consider for a cluster. |
check.unique |
A logical value indicating whether a
check for unique values should be determined. The
default is |
The zones returned must have a total population less than
ubpop * sum(pop)
of all regions in the study area.
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.
Joshua French
Patil, G.P. & Taillie, C. Upper level set scan statistic for detecting arbitrarily shaped hotspots. Environmental and Ecological Statistics (2004) 11(2):183-197. <doi:10.1023/B:EEST.0000027208.48919.7e>
data(nydf)
data(nyw)
uls.zones(cases = nydf$cases, pop = nydf$population, w = nyw)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.