huxtable
collapse
Our great sponsors
huxtable | collapse | |
---|---|---|
2 | 2 | |
311 | 599 | |
- | - | |
7.8 | 9.6 | |
2 months ago | 5 days ago | |
R | C | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
huxtable
-
What type of table is this, and is there a way to do this in R?
As for styling, I highly recommend the huxtable package. You can style rows, columns, and individual cells however you want. It uses dplyr pipelining, if you’re familiar with that, so it’s super intuitive to use too.
-
Web4 Should Run on LaTeX
I wrote a little R package to write tables. I knew what HTML tables and Word tables could do. I wrote the interface to use all those features. LaTeX nerds were super proud of their tables. Should be easy to reimplement the features in TeX, right?
https://github.com/hughjonesd/huxtable/blob/master/R/latex.R
TeX is an abomination from hell.
collapse
-
is there a package using data.table that provides functions for descriptive stats, missingness etc?
The ask is a little unclear. You might be interested in collapse and more generally in other packages in the fastverse. I guess it's also worth pointing out that data.table already provides alternative methods for certain base R descriptive stats functions (e.g., mean, etc.) that are automatically used when applied to datatables.
-
Benchmarking for loops vs apply and others
If you are looking for performance I would recommend to check the collapse package. The following line "collapse" = collapse::fsum(df_datatable$x, g=df_datatable$g) is around 2x faster than base::rowsum, and the dplyr style syntax doesn't add that much of an overhead "collapse dplyr" = df_datatable |> fgroup_by(g) |> fsum(x)
What are some alternatives?
groundhog - Reproducible R Scripts Via Date Controlled Installing & Loading of CRAN & Git Packages
fastverse - An Extensible Suite of High-Performance and Low-Dependency Packages for Statistical Computing and Data Manipulation in R
papaja - papaja (Preparing APA Journal Articles) is an R package that provides document formats to produce complete APA manuscripts from RMarkdown-files (PDF and Word documents) and helper functions that facilitate reporting statistics, tables, and plots.
writexl - Portable, light-weight data frame to xlsx exporter for R
lmForc - R package for evaluating linear forecasting models.
epanet2toolkit - An R package for calling the Epanet software for simulation of piping networks.
docxtractr - :scissors: Extract Tables from Microsoft Word Documents with R
priceR - Economics and Pricing in R
targets - Function-oriented Make-like declarative workflows for R
bruceR - 📦 BRoadly Useful Convenient and Efficient R functions that BRing Users Concise and Elegant R data analyses.
shiny.i18n - Shiny applications internationalization made easy
tableone - R package to create "Table 1", description of baseline characteristics with or without propensity score weighting