plotLoglik | R Documentation |
Visualizes the results of BayesSpace::qTune()
to determine
the optimal number of clusters.
plotLoglik(object, elbow = TRUE)
object |
An object of class |
For this function to work the results of runBayesSpaceClustering()
are required.
A ggplot.
library(SPATA2)
data("example_data")
object <- example_data$object_UKF275T_diet
# this might take some time...
object <- runBayesSpaceClustering(object, name = "bspace", qs = 3:15)
plotLoglik(object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.