View source: R/clusters-method.R
clusters | R Documentation |
clusters
extracts the clusters contained in x
.
clusters(x, idx = seq_along(x$clusters), ...)
x |
An object with clusters. |
idx |
An index vector indicating the elements of
|
... |
Currently unimplemented |
Joshua French
data(nydf)
coords <- with(nydf, cbind(longitude, latitude))
out <- scan.test(
coords = coords, cases = floor(nydf$cases),
pop = nydf$pop, nsim = 19,
alpha = 0.2, longlat = TRUE
)
clusters(out)
clusters(out, idx = 1:2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.