visualize: Cluster Visualization

Description Usage Arguments Value See Also Examples

View source: R/visualize.R

Description

This function visualize the clustering result

Usage

1

Arguments

fgwc

result(object) from fgwc clustering

Value

biPlot

radarPlot

clusterMap

See Also

spClustIndex for cluser validation, scale for data scalling

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
#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")
distance <- map

#load population data
pop <- population

clust <- fgwc(X,pop,distance,K=2,m=1.5,beta=0.5)

#cluster visualization

visualize(clust)

spatialClust documentation built on May 31, 2017, 4:55 a.m.

Search within the spatialClust package
Search all R packages, documentation and source code