Viewing entries tagged
R

A ggplot2 primer

A ggplot2 primer

R has become one of the world’s leading languages for statistical and data analysis. While the base R installation does support simple visualizations, its plots are rarely of high-enough quality for publication. Enter Hadley Wickam’s ggplot2, an aesthetically and logical approach to data visualization. In this short report, Ehssan Ghashim and Patrick Boily introduce its graphic grammar elements, and present a number of examples.