ggplot2 package| How to create Box-Plot and Violin Plot?

preview_player
Показать описание
A box plot is a graphical representation of the distribution of a dataset. It provides a quick summary of key statistics such as the Median,
Quartiles, and potential outliers. The plot consists of a rectangular box (the Interquartile Range, IQR) and two “whiskers” that extend
from the box to the smallest and largest observations within a certain range.

Violin plots are a way of comparing multiple data distributions. The Violin plots is a combination of Box Plots and Kernel Density plots.
A Violin Plot is a Kernel Density Estimate, mirrored so that it forms a symmetrical shape.
Kernel Density estimate is nothing but a smooth version of histogram.

In this video, we will work on housing price data-set. We will check the distribution of house sale price for 3,4 and 5 bed-room house.
We will use Box-whisker plots and Violin plots to summarize the data and check its distribution.

The data-set, and Rmarkdown file is available in Git-hob repository:
Рекомендации по теме
visit shbcf.ru