Creating plots with ggplot2 in IB Mathematics Year II

[This article was first published on R – Saturn Science, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

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.



To leave a comment for the author, please follow the link and comment on their blog: R – Saturn Science. offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

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)