| cluster | R Documentation |
Perform clustering on the rows (usually cases) of a dataset.
cluster(
x,
algorithm = "KMeans",
config = NULL,
execution_config = setup_FutureExecution(),
outdir = NULL,
verbosity = 1L
)
x |
Matrix, data.frame, or |
algorithm |
Character: Clustering algorithm. Not needed when |
config |
|
execution_config |
|
outdir |
Character, optional: Output directory. If not NULL, the returned
|
verbosity |
Integer: Verbosity level. |
See docs.rtemis.org/r for detailed documentation.
Clustering object.
EDG
iris_km <- cluster(exc(iris, "Species"), algorithm = "KMeans")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.