platform

prerequisite

markdown

.Rmd –> knitr –> . md –> pandoc –> output: .html / pdf / word

eval=FALSE include echo message

chunk is function

** pdf: be careful : TexLive, LaTex error * MikeTex: 2.9 for window * TexLive: 2015, win, mac

Data analysis Overview

## 99 Data Use Cases

  1. System

  2. Key Contents

Systems

  1. System

  2. Contents

Input data Remark
Item_MOQ.xlsx inv_30.R for pre test
Sys_summary for all the system
SCM_Inv_30.R for stand alone

Case Studys

  1. System

  2. Contents

data hub: energy , health, I4.0 , Secure

a <- c(1:3)
a
## [1] 1 2 3

key notes

inline equation: \(A =\pi * r^{2}\)

image:

block quote * item + sub-item 1

  1. order list
  2. item 2
table header second header
table cell cell 2

Data Utilization

procedure

corporate diagnosis > build strategy > data utilization

corporate diagnosis

  1. Organization / Culture: 7S
  2. Process: PI, e2e
  3. Structure: SF Maturity level , KS
  4. DX

build strategy

data utilization

  1. use case
  2. Systems
  3. Case Study
mtcars[1:5, ]
##                    mpg cyl disp  hp drat    wt  qsec vs am gear carb
## Mazda RX4         21.0   6  160 110 3.90 2.620 16.46  0  1    4    4
## Mazda RX4 Wag     21.0   6  160 110 3.90 2.875 17.02  0  1    4    4
## Datsun 710        22.8   4  108  93 3.85 2.320 18.61  1  1    4    1
## Hornet 4 Drive    21.4   6  258 110 3.08 3.215 19.44  1  0    3    1
## Hornet Sportabout 18.7   8  360 175 3.15 3.440 17.02  0  0    3    2

big equation

\[ \begin{aligned} f(x) &= (x-a) (x-b) \\ &= x^2 - ax - bx + ab \\ \end{aligned} \]

reference-2

install : rmarkdown, knitr

default output format: pdf

setting: show output preview in viewer pane (select it in window)

step : file / NF / RMD : title , default output format > Knit (Knit to HTML, pdf, word )

caution: be careful when using Korean

y <- dbinom(0:20, size=20, prob=0.3)

plot(0:20, y, type='h', lwd=5, col="grey", ylab="Probability", xlab="probability variable X", 
     main = c("X ~ B(20, 0.5)"))

1. Reference

Reference

We have data about 53940 diamonds. Only 126 are larger than 2.5 carats. The distribution of the remainder is shown below:

R Markdown

This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.

When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:

summary(cars)
##      speed           dist       
##  Min.   : 4.0   Min.   :  2.00  
##  1st Qu.:12.0   1st Qu.: 26.00  
##  Median :15.0   Median : 36.00  
##  Mean   :15.4   Mean   : 42.98  
##  3rd Qu.:19.0   3rd Qu.: 56.00  
##  Max.   :25.0   Max.   :120.00

Including Plots

You can also embed plots, for example:

Note that the echo = FALSE parameter was added to the code chunk to prevent printing of the R code that generated the plot.