The function ClusterPlot is used to Visualize spatial clusters.

ClusterPlot(out, pos, size = 5, shape = 15)

Arguments

out

is the output of function selectK.

pos

is a n-by-2 matrix of position.

size

is a positive value for characterizing the size of point in the plot, which is the same as size in ggplot2.

shape

is a positive value for characterizing the shape of point in the plot, which is the same as shape in ggplot2.

Value

a ggplot2 object.

Details

The function ClusterPlot is used to Visualize spatial clusters.