Learn R Programming

spotoroo (version 0.1.4)

summary.spotoroo: Summarizing spatiotemporal clustering result

Description

summary.spotoroo() is the summary method of the class spotoroo. It is a simple wrapper of summary_spotoroo().

Usage

# S3 method for spotoroo
summary(object, ...)

Value

No return value, called for side effects

Arguments

object

spotoroo object. A result of a call to hotspot_cluster().

...

Additional arguments pass to summary_spotoroo()

Examples

Run this code
# \donttest{

  # 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
  summary(result)
# }

Run the code above in your browser using DataLab