title: "chapter3" author: "Femke Thon" date: "16 May 2016" output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{Vignette Title} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8}
knitr::opts_chunk$set(echo = TRUE)
library(Sandboxy) library(ggplot2)
First we run the stuff I wrote down.
result <- chapter3(mpg) names(result) names(result$plots)
Then we look at what I generated using this function.
For starters, I generated some data from an existing dataset.
result$data
And plotted some of it.
result$plots$scatter result$plots$layered result$plots$laycol summary(result$plots$Laycol)
So those were the things I tried while reading chapter 3.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.