An R package to aid teaching of introduction to R
You can install the development version of teachr from GitHub with:
# install.packages("devtools")
devtools::install_github("numbats/teachr")
```{teachr substitute}
z <- mean(<<1:5>>)
z
---
Hint: Add a vector inside mean()
???
expect_identical(z, 3)
```
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.