forked from hughjonesd/huxtable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
68 lines (49 loc) · 2.45 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
output: github_document
---
```{r, echo = FALSE, results = 'asis'}
suppressPackageStartupMessages(suppressWarnings(library(huxtable)))
print_html(hux_logo())
```
<!-- README.md is generated from README.Rmd. Please edit that file -->
<br>
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
echo = TRUE,
comment = "#>",
fig.path = "README-"
)
```
[![CRAN Status Badge](http://www.r-pkg.org/badges/version/huxtable)](https://cran.r-project.org/package=huxtable)
[![CRAN Downloads Per Month](http://cranlogs.r-pkg.org/badges/huxtable)](https://CRAN.R-project.org/package=huxtable)
[![Travis-CI Build Status](https://travis-ci.org/hughjonesd/huxtable.svg?branch=master)](https://travis-ci.org/hughjonesd/huxtable)
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/hughjonesd/huxtable?branch=master&svg=true)](https://ci.appveyor.com/project/hughjonesd/huxtable)
[![Coverage Status](https://img.shields.io/codecov/c/github/hughjonesd/huxtable/master.svg)](https://codecov.io/github/hughjonesd/huxtable?branch=master)
Huxtable is an R package to create styled tables in multiple output formats, with a friendly, modern interface. Features include:
* Control over text styling, number format, background colour, borders, padding and alignment.
* Table cells can span multiple rows and/or columns.
* Table manipulation via standard R subsetting, or using `dplyr`.
* Automatic formatting for knitr/rmarkdown documents.
* `huxreg()` function for quick creation of regression tables.
* Output to HTML, LaTeX, RTF, and Microsoft Word/Excel/Powerpoint, using the `officer`
and `openxlsx` packages.
* Quick one-liners to print data frames into a new PDF, HTML page, RTF or Microsoft document.
* Formatted table display in the R console, including borders, colour, and text styles.
# Installing
To install from CRAN:
```{r, eval = FALSE}
install.packages('huxtable')
```
To install the latest version from github:
```{r, eval = FALSE}
install.packages('remotes')
remotes::install_github('hughjonesd/huxtable')
```
# Learning more
Check out [the website](https://hughjonesd.github.io/huxtable), read the
[documentation](https://hughjonesd.github.io/huxtable/reference/index.html) or
read the vignette in [HTML](https://hughjonesd.github.io/huxtable/huxtable.html)
or [PDF](https://hughjonesd.github.io/huxtable/huxtable.pdf).
# Fund huxtable development
If you find huxtable useful, [fund me on Patreon](https://www.patreon.com/bePatron?u=19572369).