Description Usage Arguments Examples
View source: R/SUB_2D_plotKMeans2D.R
Subroutine for creating diagnostic plots of the output from applyKMeans2D()
1 | plotKMeans2D(x, fit, plot.type = "basic")
|
x |
input used in call to applyKMeans2D() |
fit |
object created by applyKMeans2D() |
plot.type |
none yet |
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.