knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
The goal of httbl is to ...
devtools::install_github("ottlngr/httbl")
This is a basic example which shows you how to solve a common problem:
library(httbl) library(dplyr) library(tidyr) library(gapminder) data("gapminder") gapminder %>% group_by(continent, country, year) %>% nest() %>% group_by(continent, country) %>% nest() %>% group_by(continent) %>% nest() %>% httbl()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.