Skip to content

martinctc/modeltoolbox

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
R
 
 
man
 
 
 
 
 
 
 
 
 
 

modeltoolbox

R build status

This package contains support or convenience functions for modelling in R. Since the functions for this package originated from taking functions from a diverse range of modelling tasks/projects, these functions are not specific to particular types of models.


Installation

modeltoolbox is not released on CRAN (yet). You can install the latest development version from GitHub with:

install.packages("devtools")
devtools::install_github("martinctc/modeltoolbox")

Example

The run_hclust() function allows you to run hierarchical clustering straight from a tibble:

library(modeltoolbox)
library(tidyverse)

iris %>%
  select(-Species) %>%
  run_hclust(method = "complete", dmeth = "euclidean")

The function then returns a hclust object:

Call:
hclust(d = dist(x, method = dmeth), method = method)

Cluster method   : complete 
Distance         : euclidean 
Number of objects: 150 

This package is currently still under development, so it does come with a health warning: if you do wish to use them - have a check and run through the examples before assimilating them into your analysis.


Other packages

Also check out my website for my other work and packages.

About

R package with convenience functions for building models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages