theme_caption: Sets the caption of a condformat object

View source: R/theme_caption.R

theme_captionR Documentation

Sets the caption of a condformat object

Description

The advantage with respect to theme_htmlTable(caption = "My table") is that this works with HTML and LaTeX outputs

Usage

theme_caption(x, caption = "")

Arguments

x

The condformat object

caption

The caption to show

Examples

data(iris)
cf <- condformat(head(iris)) %>%
  theme_caption(caption = "My Caption")
## Not run: 
print(cf)

## End(Not run)

condformat documentation built on Oct. 8, 2023, 9:07 a.m.