View source: R/HDSpatialScan_plotSummary.R
plotSummary | R Documentation |
This function is a generic function to plot a summary.
plotSummary(x, ...)
x |
An object for which the summary is to be plotted. |
... |
Additional arguments affecting the summary produced. |
No value returned, plots the summary.
plotSummary.ResScanOutputMulti
, plotSummary.ResScanOutputUniFunct
and plotSummary.ResScanOutputMultiFunct
library(sp)
data("map_sites")
data("multi_data")
coords <- coordinates(map_sites)
res_mnp <- SpatialScan(method = "MNP", data = multi_data, sites_coord = coords,
system = "WGS84", mini = 1, maxi = nrow(coords)/2,
variable_names = c("NO2", "O3", "PM10", "PM2.5"))$MNP
plotSummary(x = res_mnp, type = "mean")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.