Learn R Programming

industRial

{industRial} is the companion package to the book industRial Data Science. It provides data sets and functions to complete the case studies and contains the book original files and exercises.

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("J-Ramalho/industRial")

Example

The Pareto case study explores the creation of pareto charts and how to make use of them in a day to day situation.

library(industRial)
library(qicharts2)
d_type <- dial_control %>% pull(Defect) %>% as.character()
paretochart(
  d_type,
  title = "Watch Dial polishing",
  subtitle = "Pareto chart",
  ylab = "Percentage of deffects",
  xlab = "Deffect type",
  caption = "Source: Dial Production Team"
) +
  theme_industRial()

Issues

To report any bug or make suggestions please open an issue: industRialds/issues

Copy Link

Version

Install

install.packages('industRial')

Monthly Downloads

165

Version

0.1.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Joao Ramalho

Last Published

June 11th, 2021

Functions in industRial (0.1.0)

industRial

industRial: companion package to the book "industRial data science"
ss.rr.plots

Gage R & R plots
theme_industRial

Custom theme "industRial" for the book industRial Data Science plots
syringe_diameter

Production measurements of the inner diameter of syringes barrels.
theme_qcc

Custom theme "qcc" for the book industRial Data Science plots
chart_I

Create IMR chart for statistical process control
chart_IMR

Create R MR chart for statistical process control
perfume_experiment

Correlation matrix of the input variables of an experiment design in perfume formulation.
pet_delivery

Tensile strength values on PET raw material for the clothing industry.
dial_control

Collection of visual defects on watch dial production.
off_spec

Calculate percentage of out of specification for Statistical Process Control
pet_doe

A factorial design for the improvement of PET film tensile strength.
process_Cpk

Calculate process capability index for Statistical Process Control
juice_drymatter

Dry matter content of different juices obtained with two different measurement devices.
tablet_thickness

Thickness measurements of pharmaceutical tablets
ebike_hardening

Cycles to failure of ebikes frames after temperature treatment.
tablet_weight

Weight measurements of pharmaceutical tablets
process_stats

Calculate summary statistics for Statistical Process Control
process_stats_table

Summary statistics table outputs for Statistical Process Control
chart_Cpk

Create a capability chart for statistical process control
battery_charging

Charging time of a lithium-ion battery.
solarcell_output

Yearly outputs of solarcells of different types.
solarcell_fill

Yearly outputs and fills factor of solarcells of different types.
expand_formula

Formula expansion