Description Usage Arguments Value Examples
Find multiple clusters sequentially via simulataneous detection. Find and test the cluster in the simple linear regression for given potential centroids via the 1st stage in Two-stage detection: different slope and different intercept.
1 | Find.Clusters.TStg1(y, X, long, lat, MR, M, overlap, alpha)
|
y |
The input data(as a vector) |
X |
The input data(as a matrix) |
long |
longitude |
lat |
latitude |
MR |
Maximum radius |
M |
number of simulations |
overlap |
Boolean which is |
alpha |
significance level |
list of cluster, coefficient, and indicator of cluster membership.
1 2 3 4 5 6 | data("SE_FakeData")
y <- SE_FakeData$y
X <- cbind(rep(1,length(y)), SE_FakeData$x)
long <- SE_FakeData$long; lat <- SE_FakeData$lat
MR <- 300; M <- 2
Clusters_ts1 <- Find.Clusters.TStg1(y, X, long, lat, MR, M, overlap=TRUE, alpha=0.05)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.