summary.ResScanOutputUniFunct {HDSpatialScan} | R Documentation |
Summary of the clusters obtained with a univariate functional scan function (PFSS, NPFSS, DFFSS or URBFSS).
Description
This function gives a summary of the clusters in a table
Usage
## S3 method for class 'ResScanOutputUniFunct'
summary(
object,
type_summ = "param",
digits = 3,
quantile.type = 7,
only.MLC = FALSE,
...
)
Arguments
object |
ResScanOutputUniFunct. Output of a univariate functional scan function (PFSS, NPFSS, DFFSS or URBFSS). |
type_summ |
character. "param" or "nparam". "param" gives the mean and the sd for each variable in the clusters, outside, and globally and "nparam" gives the Q25, Q50 and Q75 quantiles for each variables in the clusters, outside, and globally. |
digits |
integer. Number of decimals in the output. |
quantile.type |
An integer between 1 and 9 (see function quantile). Ignored if type_summ is "param" |
only.MLC |
logical. Should we summarize only the MLC or all the significant clusters? |
... |
Further arguments to be passed to or from methods. |
Value
No value returned, displays the results in the console
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
summary(object = res_npfss, type_summ = "nparam")
[Package HDSpatialScan version 1.0.4 Index]