knitr::opts_chunk$set(echo = TRUE)
library(Sandboxy) library(ggplot2)
First we run the stuff I wrote down.
result <- chapter2() 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$plot result$plots$logplot result$plots$xyzplot result$plots$coloured result$plots$shapes result$plots$red result$plots$alpha result$plots$smooth1 result$plots$smooth2 result$plots$density result$plots$histo1 result$plots$histo2 result$plots$histo3 result$plots$bar result$plots$time result$plots$path result$plots$facets result$plots$more
So those were the things I tried while reading chapter 2.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.