print.spotoroo: Printing spatiotemporal clustering result

Description Usage Arguments Value Examples

View source: R/hotspot_cluster.R

Description

print.spotoroo() is the print method of the class spotoroo.

Usage

1
2
## S3 method for class 'spotoroo'
print(x, ...)

Arguments

x

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

...

Additional arguments will be ignored.

Value

No return value, called for side effects

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
  # 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)


  # print the results
  print(result)

spotoroo documentation built on Nov. 10, 2021, 9:08 a.m.