Tiny gt examples
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
gt-awesome-tables.Rproj
gt_simple_examples.Rmd
gt_simple_examples.html

README.md

'gt' for nice tables in R (by @rich-iannone)

The package description, beautiful ReadMe, excellent examples + documentation, etc.: https://github.com/rstudio/gt

The installation:

Install the development version of the 'gt' package (see below - not yet on CRAN). Note: I had to update a number of packages (prompted during gt install).

install.packages("devtools")
remotes::install_github("rstudio/gt")

The summary (from RStudio):

"With the gt package, anyone can make wonderful-looking tables using the R programming language. The gt philosophy: we can construct a wide variety of useful tables with a cohesive set of table parts."

See the link above for a description of various components for a gt table.

Some little examples:

Since sometimes I'm even overwhelmed by the "simple" examples in R-documentation, I created some of my own here (using built-in datasets or tibbles that I make). Each example shows something a little different.