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.

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
- Basic Plots in R
- Customization of Plots
- Saving and Exporting Graphics