Professional Documents
Culture Documents
Message
Tidy
Example:
Example:
Message
Tidy
Example:
Example:
str(airquality)
This makes the data more natural for the human mind to
comprehend and therefore makes it easier to identify
trends, patterns, and outliers within large data sets.
str(airquality)
This makes the data more natural for the human mind to
comprehend and therefore makes it easier to identify
trends, patterns, and outliers within large data sets.
verify the data with domain knowledge, and decide the most
appropriate approach to clean the data
is.na(x)
Plot(wine$pH, wine$quality)
Plot(wine$quality)
verify the data with domain knowledge, and decide the most
appropriate approach to clean the data
is.na(x)
Plot(wine$pH, wine$quality)
Plot(wine$quality)
Scatter plot
Dotchart and Barplot
vertical axis.
Syntax
Barplot
Scatter plot
Dotchart and Barplot
vertical axis.
Syntax
Barplot
x <- c(1,5,7,8,9,7,5,1,8,5,6,7,8,9,8,6,7,8,10,19,6,7,8,6,4,6)
y = rnorm(50, mean=8, sd=2) z = rnorm(1000, mean=10, sd=1.8)
# we create a list of vectors and call box plot with it. # range=0.0
causes the whiskers to extend upto extreme points.
# varwidth=TRUE sets the box width proportional to the number of
data points.
# Three Box-Whiskers are plotted for x, y and x vectors
# hexbin
bin <- hexbin(x, y)
plot(bin)
x <- c(1,5,7,8,9,7,5,1,8,5,6,7,8,9,8,6,7,8,10,19,6,7,8,6,4,6)
y = rnorm(50, mean=8, sd=2) z = rnorm(1000, mean=10, sd=1.8)
# we create a list of vectors and call box plot with it. # range=0.0
causes the whiskers to extend upto extreme points.
# varwidth=TRUE sets the box width proportional to the number of
data points.
# Three Box-Whiskers are plotted for x, y and x vectors
# hexbin
bin <- hexbin(x, y)
plot(bin)