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)

Results

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.



FemkeThon/Sandboxy documentation built on May 6, 2019, 4:36 p.m.