knitr::opts_chunk$set(echo = TRUE)

This is a packaged collection of R functions for data mining originally developed by Thomas Minka for teaching at CMU.

There are many other packages on CRAN that can replicate this functionality. However, the idea of using visualisation to build regression models is attractive, and the package only depends on base R.

Installation

You can install the package in RStudio using the devtools package:

if (!require(devtools)) install.packages("devtools")
devtools::install_github("paulemms/datamining")

Usage

library(datamining)
packageVersion("datamining")

The package contains a number of example data sets. The data below is a modified version of the Boston data set in the MASS package.

data(Housing)
head(Housing)

An example plot is shown below.

color.plot(Price ~ Rooms + Low.Status, Housing, color.palette=YlGnBu.colors)


paulemms/datamining documentation built on March 1, 2023, 4:01 p.m.