Description Usage Arguments Value See Also Examples
This function used to validate the clustering result
1 |
fgwc |
result(object) from fgwc clustering |
validity indeks
visualize
for cluster visualizatiion
scale
for data scalling
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #load data example
X <- example
#if using matrix distance
distance <- dist
#if using shapefile
#library(rgdal) for call readOGR
#distance <- readOGR(dsn = 'folder/.',"shapefile name")
#load population data
pop <- population
clust <- fgwc(X,pop,distance,K=2,m=1.5,beta=0.5)
#show cluster validation
spClustIndex(clust)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.