This is a test RMarkdown to help learn the basics of the tools for producing reports or summaries combining code, results and commentary

Note that this markdown document is in beta

  1. Load the cars dataset and select observations with a reported speed of less than 20kph. Plot speed vs distance on scatter plot
cars <- cars %>% filter(speed<20)
plot(cars)

  1. Now select only the speed variable from the cars dataset and plot this on a scatter, where x axis defaults to index
speed <- cars$speed
plot(speed)

3. Repeat for the distance variable from the cars dataset

dist <- cars$dist
plot(dist)