knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of pivotr is to compute pivot tables by using the tidyverse
syntax.
You can install the development version from GitHub with:
# install.packages("devtools") devtools::install_github("ismailmuller/pivotr")
This is a basic example which shows you how to solve a common problem:
library(pivotr) pvt(mtcars, cyl, am, N = n())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.