knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
The precis package is designed to replace base::summary()
library(precis) precis(mtcars) precis(ggplot2::diamonds)
precis is not currently available on CRAN, but you can install it with:
# install.packages("devtools") devtools::install_github("hadley/precis")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.