• Who we are
  • Courses
  • Contact Us
  • Citations
  • Student Dashboard
Skip to content
Evidence Synthesis Academy
Evidence Synthesis Academy

Evidence Synthesis Academy

Training the next generation of evidence synthesis consumers and producers

Extra Graphs

Back to: Introduction to R

We will display the code for a couple for common graphs below:

Bar Charts

ggplot(data, aes( carrier) )+
         geom_bar()

Line and Path plots

ggplot(data, aes(dep_delay, distance/air_time*60 )) + 
  geom_line()

Previous Lesson
Graphing Continuous Data
Next Lesson
Labeling

Post navigation

Previous PostPrevious Joins
Next PostNext Extended Example
  • About Course
    • About this Course
    • Modules
    • Blue Sections
    • Green Sections
  • Getting Started
    • What is R?
    • The Data Analysis Workflow
    • Getting R and RStudio
    • First R Session
    • Using R as a Calculator
    • Getting Help in R
    • The Tidyverse
    • Installing Packages
  • Getting Data
    • Data Wrangling
    • Importing Data
    • Data Objects in R
    • Vectors in R
    • Arrays in R
    • Matrices in R
    • Lists in R
    • Dataframes in R
    • Tibbles
  • Tidy Data
    • What is Tidy Data?
    • Piping or Chaining
    • Spread
    • Gather
    • Separate
    • Unite
    • DPLYR
    • Filtering
    • Choosing Columns
    • Arrange
    • Summarize
    • Adding Variables
    • Further Summarizing
    • Joins
  • Graphics
    • ggplot2
    • Aesthetics
    • Faceting
    • Smoothing
    • Categorical vs. Continuous
    • Graphing Continuous Data
    • Extra Graphs
    • Labeling
    • Constructing Graphs
    • Modifying Axes and Scales
    • Further Legends
    • Extended Example

Sponsors


Fax:


Providence, RI 02912

This website was developed with a R25 grant (PI: Schmid ) from the Agency for Healthcare Research and Quality.