Packages and settings – R and Python
First, we load the essential R packages:
Load the R packages
lattice
,qcc
,ggplot2
, andRSADBE
:> library(lattice) > library(qcc) __ _ ___ ___ / _ |/ __/ __| Quality Control Charts and | (_| | (_| (__ Statistical Process Control \__ |\___\___| |_| version 2.7 Type 'citation("qcc")' for citing this R package in publications. Warning message: package 'qcc' was built under R version 3.4.1 > library(ggplot2) > library(RSADBE)
The packages required for Python session are
os
,matplotlib
,pandas
, andnumpy
, and they are imported in the following: