Get the cluster colors of LISA computation.

lisa_colors(gda_lisa)

Arguments

gda_lisa

An instance of LISA object

Value

A string vector of cluster colors

Examples

if (FALSE) { # \dontrun{
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"])
clrs <- lisa_colors(lisa)
clrs
} # }