Skip to content

suzanbaert/analysistools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

analysistools

This is a personal package gathering some functions I frequently use in analysis. Rather than searching for them, or remaking them time after time, I will be packaging them up here.

Installation

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("suzanbaert/analysistools")

Clustering functions

Get the kmeans elbow plot:

kmeans_elbow(iris[-5])

Or get a second opinion on the number of clusters via Silhouette analysis. This shows the average silhouette width for each number of clusters.

silhouette_plot(iris[-5])




Plotting functions

  • ggplot_colors(n) gives the HEX codes of ggplot colors

About

Personal package of analysis functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages