plotCurves {HDSpatialScan} | R Documentation |
Generic function to plot curves
Description
This function is a generic function to plot curves.
Usage
plotCurves(x, ...)
Arguments
x |
An object for which the curves are to be plotted. |
... |
Additional arguments affecting the output. |
Value
No value returned, plots the curves.
See Also
plotCurves.ResScanOutputUniFunct
and plotCurves.ResScanOutputMultiFunct
Examples
library(sp)
data("map_sites")
data("funi_data")
coords <- coordinates(map_sites)
res_npfss <- SpatialScan(method = "NPFSS", data = funi_data, sites_coord = coords, system = "WGS84",
mini = 1, maxi = nrow(coords)/2)$NPFSS
plotCurves(x = res_npfss, add_mean = TRUE, add_median = TRUE)
[Package HDSpatialScan version 1.0.4 Index]