1 EDA

2 Descriptive Statistics in R

Statistics R function
Mean mean()
Median median()
Mode sort(x, decreasting = TRUE)[1]
Standard Deviation sd()
Variance var()
Correlation cor(), cov()
Quantiles quantile()
Range range()
Interquartile range IQR()
첨도(Kurtosis) e1071::kurtosis()
왜도(Skewness) e1071::skewness()
Frequencies table(), addmargins(table())
Group summary aggregate()

3 Graphical Methods

Plot Types Base R lattice ggplot-geoms
Bar barplot() barchart() geom_bar()
Histogram hist() histogram() geom_histogram()
Density plot(density()) densityplot() geom_density()
Quantile-Quantile qqnorm() qq() geom_qq()
Box-Whisker boxplot() bwplot() geom_boxplot()
Scatter plot() xyplot() geom_point()
Line plot() xyplot() geom_line()

4 Reporting with Rmarkdown

5 과제 1