## ----include = FALSE---------------------------------------------------------- knitr::opts_chunk$set( collapse = TRUE, comment = "#>", echo = FALSE, # hide code message = FALSE, # hide messages warning = FALSE, # hide warnings fig.width = 12, fig.height = 7, out.width = "100%" ) ## ----setup-------------------------------------------------------------------- library(gsClusterDetect) ## ----echo=TRUE---------------------------------------------------------------- result <- find_clusters( cases = example_count_data, distance_matrix = county_distance_matrix("OH")[["distance_matrix"]], detect_date = example_count_data[, max(date)], distance_limit = 50, return_interim = TRUE ) # objects included in the output for (n in names(result)) { cat( "Name: ", n, "\nClass: ", paste(class(result[[n]]), collapse = " "), "\n\n", sep = "" ) }