Skip to contents

The function SelectKPlot is used to demonstrate the scatter plot of the criteria used vs K for selecting the best K.

Usage

SelectKPlot(obj, criteria = c("InUse", "MBIC", "MAIC", "BIC", "AIC"))

# S3 method for iSCMEBObj
SelectKPlot(obj, criteria = c("InUse", "MBIC", "MAIC", "BIC", "AIC"))

# S3 method for iSCMEBResObj
SelectKPlot(obj, criteria = c("InUse", "MBIC", "MAIC", "BIC", "AIC"))

Arguments

obj

An iSCMEBObj object or a iSCMEBResObj object.

criteria

A string, specify the criteria used for selecting the number of clusters, supporting "InUse", "MBIC", "MAIC", "BIC" and "AIC" ("InUse" by default).

Value

Return a ggplot2 object.

Return a ggplot2 object.