.R
script or an .Rmd
document, while also converting it to .html
data.frame
ggplot2
There were no slides
You did finish working through: R basics, workspace and working directory, RStudio projects, right?
Check out swirl. Work through one or more interactive courses with the goal of writing a short review (include in homework?). Feeling more ambitious? Check out swirlify
and create a new lesson. I’d be happy to help think up topics.
We did not need these (demos were more basic), but I’ll leave this here anyway.
Parking these snippets here in case needed during class:
Example YAML frontmatter to cause intermediate Markdown to be saved when rendering an R Markdown document:
---
title: "Something fascinating"
author: "Jenny Bryan"
date: "10 September, 2014"
output:
html_document:
keep_md: TRUE
---
Example YAML frontmatter to cause intermediate Markdown to be saved when rendering an R script (the same stuff but with #'
at the beginning of each line:
#' ---
#' title: "Something fascinating"
#' author: "Jenny Bryan"
#' date: "10 September, 2014"
#' output:
#' html_document:
#' keep_md: TRUE
#' ---