• R Essentials for Six Sigma Analytics
  • Acknowledgements
  • Meet the Author
  • For the Continuous Improvement Professional
  • The Structure of this Book
  • Introduction
    • Using RStudio for Six Sigma Projects
  • 1 Installing R, RStudio, and Packages
    • 1.1 Step 1: R Language
    • 1.2 Step 2: RStudio
    • 1.3 Step 3: Packages
    • 1.4 RStudio Quick Tour
      • 1.4.1 The Source Code Pane
      • 1.4.2 The Environment Pane
      • 1.4.3 The R Console Pane
      • 1.4.4 The Files, Plots, Packages and Help Pane
  • 2 Basic and Useful R Coding
    • 2.1 Available Built-in Datasets
    • 2.2 Looking Into the Data
    • 2.3 Checking the Structure of the Data
    • 2.4 Columns and Rows Names
    • 2.5 Basic Statistics
    • 2.6 Single-value Statistics
      • 2.6.1 Minimum Value
      • 2.6.2 Maximum Value
      • 2.6.3 Mean (Average)
      • 2.6.4 Median
      • 2.6.5 Standard Deviation
      • 2.6.6 First and Third Quartiles
    • 2.7 Creating Vectors
    • 2.8 Creating a Data Frame
    • 2.9 Creating Data with R Functions
      • 2.9.1 The rnorm Function
      • 2.9.2 The sample Function
    • 2.10 Uploading a File
  • 3 Plotting with R Base Code
    • 3.1 Bar Plots
      • 3.1.1 Data Source
      • 3.1.2 Basic Bar Plot
      • 3.1.3 Bar Plot Customization
      • 3.1.4 Ordering the Bars
    • 3.2 Histograms
      • 3.2.1 Data Source
      • 3.2.2 Basic Histogram
      • 3.2.3 Histogram Customization
    • 3.3 Density Curves
      • 3.3.1 Data Source
      • 3.3.2 Basic Density Curve
      • 3.3.3 Density Curve Customization
    • 3.4 Line Plots (Run Charts)
      • 3.4.1 Data Source
      • 3.4.2 Basic Line Plot
      • 3.4.3 Line Plot Customization
    • 3.5 Scatter Diagrams
      • 3.5.1 Data Source
      • 3.5.2 Basic Scatter Plot
      • 3.5.3 Scatter Plot Customization
    • 3.6 Boxplots
      • 3.6.1 Data Source
      • 3.6.2 Basic Boxplots
      • 3.6.3 Boxplots Customization
    • 3.7 Pareto Charts
      • 3.7.1 Data Source
      • 3.7.2 Basic Pareto
      • 3.7.3 Pareto Charts Customization
      • 3.7.4 Creating Paretos with an Uploaded File
    • 3.8 Control Charts
      • 3.8.1 I-MR Control Charts
      • 3.8.2 Xbar-s Control Charts
      • 3.8.3 C Charts
      • 3.8.4 P, U, and Other Control Charts
    • 3.9 Placing 4 Plots On One Page
      • 3.9.1 Data Source
      • 3.9.2 Creating 4 Plots On 1 Page
  • 4 Plotting with ggplot2
    • 4.1 Line Plots
      • 4.1.1 Data Source
      • 4.1.2 Basic Plot
      • 4.1.3 Line Plot Customization
    • 4.2 Bar Plots
      • 4.2.1 Data Source
      • 4.2.2 Basic Plot
      • 4.2.3 Bar Plot Customization
    • 4.3 Stacked Bar Plots
      • 4.3.1 Data Source
      • 4.3.2 Stacked Bar Customization
    • 4.4 Boxplots
      • 4.4.1 Data Source
      • 4.4.2 Basic Plot
      • 4.4.3 Boxplots Customization
    • 4.5 Density Curves
      • 4.5.1 Data Source
      • 4.5.2 Basic Plot
      • 4.5.3 Density Curves Customization
    • 4.6 Histograms
      • 4.6.1 Data Source
      • 4.6.2 Basic Plot
      • 4.6.3 Histogram Customization
    • 4.7 Violin Plots
      • 4.7.1 Data Source
      • 4.7.2 Basic Plot
      • 4.7.3 Violin Plots Customization
    • 4.8 Scatter Diagrams
      • 4.8.1 Data Source
      • 4.8.2 Basic Plot
      • 4.8.3 Scatter Diagram Customization
    • 4.9 Dot Plots
      • 4.9.1 Data Source
      • 4.9.2 Basic Plot
      • 4.9.3 Dot Plot Customization
    • 4.10 Bubble Charts
      • 4.10.1 Data Source
      • 4.10.2 Basic Plot
      • 4.10.3 Bubble Chart Customization
    • 4.11 Faceting with ggplot
      • 4.11.1 Data Source
      • 4.11.2 Facet Wrap
      • 4.11.3 Facet Grid
  • 5 Hypothesis Testing
    • 5.1 Common Hypothesis Testing for Six Sigma
    • 5.2 1-Sample t Test
    • 5.3 2-Sample t Test
    • 5.4 One-Way ANOVA
    • 5.5 1 Proportion Test
    • 5.6 2 Proportions Test
  • Closing Comments
    • Errors or Omissions
    • Thank You!
    • Scratching the Surface
  • References
  • Published with bookdown

R Essentials for Six Sigma Analytics

R Essentials for Six Sigma Analytics

An Introduction to R for the Six Sigma Practitioner

Ramon Perdigao

Copyright

R Essentials for Six Sigma Analytics: An Introduction to R for the Six Sigma Practitioner. Copyright © 2021 by Ramon Perdigao. All rights reserved.

This book was written in RStudio version 1.4.1717 with Bookdown and other open source R packages. All examples and exercises have been created by the author unless explicitly stated otherwise. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the proper written permission of the copyright owner.

For more information, please contact the author directly at ramon_panizza@msn.com

Ontario, Canada (July 2021). ISBN: 9798531564047

You can purchase a paperback copy of this book on Amazon