dreamRs / flexpivot

Simple frequency table

Home Page:https://dreamrs.github.io/flexpivot/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flexpivot

{flextable} extension to create ready-to-use frequency tables in shiny and rmarkdown, and easily exportable to Word, PowerPoint and Excel.

Lifecycle: experimental R-CMD-check Codecov test coverage

Installation

You can install the development version of {flexpivot} from GitHub with:

remotes::install_github("dreamRs/flexpivot")

Example

library(flexpivot)
library(magrittr)

nobel_laureates %>%
  subset(category %in% c("Chemistry", "Physics")) %>% 
  pivot_table("category", "gender") %>%
  pivot_format()

More examples available in the vignette : https://dreamrs.github.io/flexpivot/articles/flexpivot.html

Related packages

  • crosstable & crosstableAssistant makes it easy to calculate descriptive statistics and export them into Office and has a nice Shiny app to create tables interactively.

About

Simple frequency table

https://dreamrs.github.io/flexpivot/

License:GNU General Public License v3.0


Languages

Language:R 98.6%Language:CSS 1.4%