knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
firsttable package for R
This function takes a data.frame
or tibble
and a row and column specification and generates
a table along the lines of the first table used in many medical journal articles. The row
specification can either use one of the _row
functions, or if the defaults are appropriate
can just be a bare column name or calculation using a column. These calculations are implemented
using rlang::eval_tidy
and support the quasiquotation operators such as !!
and
!!!
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.