lisa_labels | R Documentation |
Get cluster labels of LISA computation.
lisa_labels(gda_lisa)
gda_lisa |
An instance of LISA object |
A string vector of cluster labels
## Not run:
library(sf)
guerry_path <- system.file("extdata", "Guerry.shp", package = "rgeoda")
guerry <- st_read(guerry_path)
queen_w <- queen_weights(guerry)
lisa <- local_moran(queen_w, guerry["Crm_prs"])
lbls <- lisa_labels(lisa)
lbls
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.