This lesson is being piloted (Beta version)

ggplot Extension Course: Glossary

Key Points

Before we Start
  • Use RStudio to write and run R programs.

  • Use RStudio to interact with GitHub.

Visualising continuous data with ggplot2
  • ggplot2 is a flexible and useful tool for creating plots in R.

  • The data set and coordinate system can be defined using the ggplot function.

  • Additional layers, including geoms, are added using the + operator.

  • Histograms and density plots are useful tools to visualise the distribution a a continuous variable.

  • Scatterplots can be useful in understanding the relationship between two continuous variables.

Plotting categorical data with ggplot2
  • Bar charts are useful for visualising the frequency of categorical variables.

  • Box plots show the distribution of a continuous variable across different groups.

  • Individual data points should be included in a plot whenever possible.

Customising plots created with ggplot2
  • ggplot2 allows plots to be customised in many ways.

  • The appearance of plot elements can be adjusted individually or via themes.

Glossary

FIXME