View source: R/summary_spotoroo.R
summary_spotoroo | R Documentation |
This function takes a spotoroo
object to produce a summary of the
clustering results. It can be called by summary.spotoroo()
.
summary_spotoroo(result, cluster = "all")
result |
|
cluster |
Character/Integer. If "all", summarize all clusters. If an integer vector is given, summarize corresponding clusters. |
No return value, called for side effects
# Time consuming functions (>5 seconds)
# Get clustering results
result <- hotspot_cluster(hotspots,
lon = "lon",
lat = "lat",
obsTime = "obsTime",
activeTime = 24,
adjDist = 3000,
minPts = 4,
minTime = 3,
ignitionCenter = "mean",
timeUnit = "h",
timeStep = 1)
# Make a summary of all clusters
summary_spotoroo(result)
# Make a summary of cluster 1 to 3
summary_spotoroo(result, 1:3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.