Scatter Plot in R
The plot() function is used to plot numbers against each other. The scatter plot in R is used to show the relationship between two numerical variables. Here we need two vectors of the same length, one for the x-axis (horizontal) and one for the y-axis (vertical): Output The above example shows the result of 12 … Read more