Exploring Data with R
Daniel J. Denis
Abstract
Daniel J. Denis
Abstract
A data analyst can obtain a huge data set and extract visual patterns from it in a very short time. R software is especially good at generating high-level graphics. This chapter surveys some graphing possibilities in R, from basic to more advanced, and features many visualization tools that can be immediately applied directly to the data as needed. The most common way to obtain a basic plot in R is to use the plot() function. The chapter shows a generic example for plotting two variables against each other in two dimensions using vectors z and w, and then proceeds to produce additional scatterplots using the featured data sets. Stem-and-leaf plots have the advantage that one can see the actual data points in the plot rather than the data be invisibly binned as in the case of histograms. The chapter also discusses assessment of normality of distributions and box-and-whisker plots.
A significance statement is not available in the OpenAlex record.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
A data analyst can obtain a huge data set and extract visual patterns from it in a very short time. R software is especially good at generating high-level graphics. This chapter surveys some graphing possibilities in R, from basic to more advanced, and features many visualization tools that can be immediately applied directly to the data as needed. The most common way to obtain a basic plot in R is to use the plot() function. The chapter shows a generic example for plotting two variables against each other in two dimensions using vectors z and w, and then proceeds to produce additional scatterplots using the featured data sets. Stem-and-leaf plots have the advantage that one can see the actual data points in the plot rather than the data be invisibly binned as in the case of histograms. The chapter also discusses assessment of normality of distributions and box-and-whisker plots.
Key concepts: Box plot, Plot (graphics), Scatter plot, Computer science, Graphics, Visualization, Set (abstract data type), Data set