Learn R Programming

summarytools (version 0.9.9)

st_css: Include summarytools' css Into Active Document

Description

Generates the css needed by summarytools in Rmarkdown documents.

Usage

st_css(main = TRUE, global = FALSE, bootstrap = FALSE, style.tag = TRUE, ...)

Arguments

main

Logical. Include summarytools.css file. TRUE by default. Affects only summarytools objects.

global

Logical. Include the additional summarytools-global.css file, which affects all content in the document. Provides control over objects that were not html-rendered; in particular, table widths and vertical alignment are modified to improve layout. FALSE by default.

bootstrap

Logical. Include bootstrap.min.css. FALSE by default.

style.tag

Logical. Includes the opening and closing <style> tags. TRUE by default.

Character. Path to additional css file(s) to include.

Details

Typically the function is called right after the initial setup chunk of an Rmarkdown document, in a chunk having options echo=FALSE and results="asis".