Overview
Teaching: 15 min Exercises: 0 minQuestions
How do I read, analyze, and visualize a tabular data set?
How do I manipulate, summarize, and analyze data to answer a research question?
How do I choose the best chart to answer my research question?
How do I generate the best chart to answer my research question?
How do I produce a publication quality version of my chart?
Objectives
To interactively generate analysis code and save it in a file
To read tabular data into a data frame
To manipulate and summarize tabular data using
dplyr
To generate publication quality charts using
ggplot2
To critique others’ choices of charts and esthetics and express how to improve them
To access
help()
, vignette tutorials, and online documentationTo interpret common error/warning messages from
dplyr
andggplot2
Welcome to the Software Carpentry lesson on Data Visualization for novices
Make sure you have followed the setup instructions before moving onto the next episodes.
You will also want to be sure that you have dplyr
, tidyr
, and ggplot2
installed in your R console.
install.packages("dplyr")
install.packages("tidyr")
install.packages("ggplot2")
Key Points
dplyr
is one useful tool to manipulate, summarize, and analyze data.
ggplot2
is one useful tool to visualize and analyze data.A clearly defined research question is essential to a successful analysis and graphical representation of the results.