eda.uni | R Documentation |
This function is a modified version of eda.shape
found in the S+ Guide to Statistics, v1, p. 124. It is based on work by Tukey (1977) and each plot is described in more detail in Ch. 4 of Cohen et al. Creates 4 plots useful in assesing univariate distributions of data.
eda.uni(x, title = "")
x |
A univariate data object such as column of variable from a data.frame() |
title |
Title printed above first plot in upper left corner |
Simply provides a histogram, smoothed histogram, qq-plot, and boxplot for x.
A single graph object with 4 basic plots.
Thomas D. Fletcher t.d.fletcher05@gmail.com
Cohen, J., Cohen, P., West, S. G., & Aiken, L. S. (2003). Applied multiple regression/ correlation analysis for the behavioral sciences, 3rd ed. Mahwah, NJ: Lawrence Erlbaum Associates. Chapter 4, Data Visualization, exploration, and assumption checking: Diagnosing and solving regression problems.
Insightful (2001). S-Plus 6 for Windows Guide to Statistics, Volume 1. Seattle: Insightful.
Tukey (1977). Exploratory Data Analysis. Reading, MA: Addison-Wesley.
hist
, plot.density
, qqnorm
, boxplot
# create negatively skewed dat with 100 observations xc <- -rchisq(100,3) eda.uni(xc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.