plotKMeans2D: plotKMeans2D

Description Usage Arguments Examples

View source: R/SUB_2D_plotKMeans2D.R

Description

Subroutine for creating diagnostic plots of the output from applyKMeans2D()

Usage

1
plotKMeans2D(x, fit, plot.type = "basic")

Arguments

x

input used in call to applyKMeans2D()

fit

object created by applyKMeans2D()

plot.type

none yet

Examples

1
2
3
4
test.data <- SPATData_Samples[,c("Weight","LengthMEF")]
test.clusters <- applyKMeans2D(test.data,centers= 2)
names(test.clusters)
plotKMeans2D(x=test.data,fit=test.clusters)

SOLV-Code/SPATFunctions-Package documentation built on April 25, 2020, 12:59 a.m.