knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of clust431 is to implement basic k_means and hierarchical agglomerative clustering on datasets.
You can install the released version of clust431 from CRAN with:
install.packages("clust431")
This is a basic example which shows you how to solve a common problem:
library(clust431) library(dplyr) iris2 <- iris %>% select(Sepal.Length,Sepal.Width) k_means(iris2,3) hier_clust(iris2,3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.