0Pricing
R Academy · Lesson

Basic Plots in R

Generate quick plots such as line graphs and scatter plots with built-in functions.

1

Basic Plots in R

R provides built-in functions to create various types of plots for data visualization.

Basic Plots in R — illustration 1

2

Creating a Scatter Plot

Use the plot() function to create scatter plots in R.

plot(mtcars$mpg, mtcars$hp, main='MPG vs Horsepower', xlab='Miles per Gallon', ylab='Horsepower', col='blue')

All lessons in this course

  1. Basic Plots in R
  2. Customization of Plots
  3. Saving and Exporting Graphics
← Back to R Academy