nclusters | R Documentation |
nclusters
returns the number of clusters
identified in a smerc_cluster
object.
nclusters(x)
x |
A |
A non-negative integer.
data(nydf)
coords <- with(nydf, cbind(longitude, latitude))
out <- scan.test(
coords = coords, cases = floor(nydf$cases),
pop = nydf$pop, nsim = 19,
alpha = 0.3, longlat = TRUE
)
nclusters(out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.