knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" ) library(printbl)
Pretty printing for any 2D datastructure in R that provides an implementation of the following generic methods
base::head()
/base::tail()
base::nrow()
and optionally
base::rownames()
printbl::obj_desc()
You can install the released version of printbl from github with:
devoolt::install_github("nbenn/printbl")
For example a data.frame
which has row names:
print_table(mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.