#' @method clusters smerc_cluster
#' @export
clusters.smerc_cluster <- function(x, idx = seq_along(x$clusters), ...) {
if (min(idx) < 1 | max(idx) > length(x$clusters)) {
stop("invalid idx values")
}
lget(x$clusters[idx], "locids")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.