CSC 152: The Week beginning Oct. 28 |
names
to rename the fields -- eliminating any spaces or other weird
features. Use R to make a plot of anomaly versus year. Give your plot
a title, x- and y-axis labels. Make a linear model for anomaly versus year.
Add that line to the plot (either abline
or curve
). Extract
the slope and y-intercept from the linear model and use them to display the fit equation
on the plot.