Below are a few examples of using `plot()`

function in `R`

:

# Example 1: Basic Scatterplot in R

- A Scatterplot with Default Specifications in Base R

# Example 2: Scatterplot with User-Defined Title & Labels

- Scatterplot with User-Defined Main Title & Axis Label

# Example 3: Regression

- Regression line in R

# Example 4: Density Plot in R

- Density plot in R

# Example 5: Plot with Colors & PCH According to Group

- Adding Grouping Variable.

# Example 6: Plot Multiple Densities in Same Plot

- Plot Multiple Densities in Same Plot

# Example 7: plot() and legend()

- plot() and legend()

# Example 8: Label data points

- Sine plot

# Example 9: Sine plot

- Label data points

# Example 10: Matrix of Scatterplots

- Matrix Created with pairs()

*My site is free of ads and trackers. Was this post helpful to you? Why not *

*Reference:*

*R documentation*
*Linear regression from Wikipedia*
*The Bell Curve Theory*