knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of clust431 is to ...
You can install the released version of clust431 from CRAN with:
install.packages("clust431")
This is a basic example which shows what the original kmeans function would output:
kmeans(iris[,1:4], 3)
This is a example shows what the my k_means function would output:
library(clust431) k_means(iris[,1:4], 3)
This is a basic example which shows what the original hclust function would output:
hclust(dist(iris[,1:4]), "complete")
This is a basic example which shows what my hier_clust function would output:
library(clust431) hier_clust(iris[,1:4])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.