Learn R Programming

condformat (version 0.10.0)

theme_caption: 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

Run this code
data(iris)
cf <- condformat(head(iris)) %>%
  theme_caption(caption = "My Caption")
if (FALSE) {
print(cf)
}

Run the code above in your browser using DataLab