knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

clust431

The goal of clust431 is to implement basic k_means and hierarchical agglomerative clustering on datasets.

Installation

You can install the released version of clust431 from CRAN with:

install.packages("clust431")

Example

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)


Cal-Poly-Advanced-R/lab-7-clustering-methods-jhavstad8 documentation built on May 25, 2022, 2:44 a.m.