Statistical Analysis: an Introduction using R/R/Univariate plots
Producing rough plots in R is extremely easy, although it can be time consuming tweaking them to get a certain look. The defaults are usually sensible.
Input:
-
stripchart(state.areas, xlab="Area (sq. miles)") #see method="stack" & method="jitter" for others
-
boxplot(sqrt(state.area))
-
hist(sqrt(state.area))
-
hist(sqrt(state.area), 25)
-
plot(density(sqrt(state.area))
-
plot(UKDriverDeaths)
-
-
qqnorm()
-
ecdf(