In data analysis more than anything, a picture really is worth a thousand words. When you start analyzing data in R, your first step shouldn't be to run a complex statistical test: first, you should visualize your data in a graph. This lets you understand the basic nature of the data, so that you know what tests you can perform, and where you should focus your analysis.
ggplot2 is a third party package and to install it separately; use the following command:
install.packages("ggplot2")
To load it into the memory; use the following command:
library(ggplot2)
Bar Chart: It is either horizontal or vertical bars to show comparisons between categorical values
Pie Charts: It is a type of graph in which a circle is divided into sectors, each representing a proportion of the whole.
Histograms are graphical representations of a probability distribution. A histogram is a kind of a bar chart. They display the number of values within a specified interval. They are suitable for large datasets as they can be grouped within the intervals.
Line Chart :Generally used to visualize data that changes over time.
Box Plot: Displays the distribution of data that is based on the five-number summary: Minimum,First quartile,Median,Third quartile,Maximum
ggplot2 is a third party package and to install it separately; use the following command:
install.packages("ggplot2")
To load it into the memory; use the following command:
library(ggplot2)
Bar Chart: It is either horizontal or vertical bars to show comparisons between categorical values
Pie Charts: It is a type of graph in which a circle is divided into sectors, each representing a proportion of the whole.
Histograms are graphical representations of a probability distribution. A histogram is a kind of a bar chart. They display the number of values within a specified interval. They are suitable for large datasets as they can be grouped within the intervals.
Line Chart :Generally used to visualize data that changes over time.
Box Plot: Displays the distribution of data that is based on the five-number summary: Minimum,First quartile,Median,Third quartile,Maximum
No comments:
Post a Comment
Note: only a member of this blog may post a comment.