Scatter plots

The following code will be used to create a scatter plot:

plot(Hartnagel$year, Hartnagel$mtheft, col=brewer.pal(8,"Set1")) 

The output is as follows:

To view the various parameters supported in R graphics:

?par 
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.129.243.15