stone.stat {DCluster} | R Documentation |
Calculate Stone's statistic. See stone manual page for details.
stone.stat(data, region, sorted=FALSE, lambda)
data |
A dataframe with all the data, as explained in the DCluster manual page. |
region |
Region where around which we want to test for a cluster. It must a row number of data. |
sorted |
Whether the data are already sorted by distance to region. |
lambda |
Value of the null hypotheses. It may NULL (i. e., not known) or a number. |
A vector of two elements with the value of the statistic and the region (counting from the centre) where it was achieved.
Stone, R. A. (1988). Investigating of excess environmental risks around putative sources: Statistical problems and a proposed test. Statistics in Medicine 7,649-660.
DCluster