Using the built-in dataset “cars”, plot a histogram using the distance values on the x-axis and a scatter plot using speed on the x-axis and distance on the y-axis. Create the graphs first using the Base graphics functions and then again using the ggplot2 graphics functions. Provide the appropriate x- and y-axis labels (not the default labels) and the main title.
The post Plotting a histogram first appeared on COMPLIANT PAPERS.