Tutorials

A set of practical exercises on key concepts presented throughout this book is available either on the web or locally, instructions follow.


On the web

the tutorials in the list below are published on the shinyapp.io server and can be freely accessed with the links below:

Topic/Link Content
Pareto chart This tutorial builds on the The dial polishing workshop case study from the Design for Six Sigma chapter, train building pareto charts using the {qichart2} package and explore how playing with different variables gives new insights into apparently simple data collections.
DOE Anova This tutorial explores how the p value is calculated by playing with a dynamic anova chart. This exercise is based on the The e-bike frame hardening process of the DOE Interactions chapter.
Response Surface This tutorial tests 3D visualization skills by playing with 3D response surface plots and the related interaction plots using the battery_charging dataset and the {rsm} package.
Process Capability In this tutorial we can play with the process centering variability and see how this is translated in the process indicators “percentage out of spec” and Cpk.



Locally

The same set of tutorials can also be run locally which can be convenient as they load faster. This also allows for further exploration as the original tutorial code becomes available. For downloading instructions refer to the packages (#installation) session.

Next load the packages:

library(industRial)
library(learnr)

and list the tutorials with:

learnr::available_tutorials(package = "industRial")
Available tutorials:
* industRial
  - anova      : "industRial practice"
  - capability : "industRial practice"
  - pareto     : "industRial practice"
  - surface    : "industRial practice" 

choose a tutorial and run it as follows:

learnr::run_tutorial(package = "industRial", "anova")

The original files are available in the package tutorials folder. Their names correspond to the tutorial names listed before so there is a simple way to open the desired file, e.g.:

rstudioapi::navigateToFile(
  paste0(.libPaths()[1], "/industRial/tutorials/anova/anova.Rmd")
  )