Creating plots with ggplot2 in IB Mathematics Year II

September 30, 2016
By

(This article was first published on R – Saturn Science, and kindly contributed to R-bloggers)

My year II IB Mathematics class is going very well this year. Our hard work last year is starting to pay off in that we know how to use ggplot2, dplyr and now R Markdown. The students will complete their Internal assessment, which is a large research report, by the end of December.

I have encouraged them to write in R Markdown so their research is reproducible. One student now has the general outline of his report completed and is using an Rmd file and knitr to generate a Word file complete with code, output and plots.



I have here a few partial screen grabs to give you a flavor of the type of report that can be generated using R Markdown and knitr. These are not completed plots and the code and report are still in the editing phase.

But I’m glad that this process is working out because as the code becomes cleaner, the plots are all automatically updated which saves tons of time.

I will be starting the statistics unit of my year I IB Mathematics class the second week of October and I will introduce them to RStudio and how to do basic statistics using R. This way everything can be saved and they can start playing with the plots and generate some ideas about what they might want to do their research on.

[optinform]

 

To leave a comment for the author, please follow the link and comment on their blog: R – Saturn Science.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)