Learn R Programming

tables (version 0.9.31)

Literal: Insert a literal entry into a table margin.

Description

This allows insertion of arbitrary LaTeX text into a table.

Usage

Literal(x, nearData = TRUE)

Value

Produces an expression to insert a label containing the literal text.

Arguments

x

A character string to insert.

nearData

See the Details section of Heading.

Details

In LaTeX the literal string should usually end with a % comment character to avoid having a blank line inserted.

See Also

Hline, which uses this to insert lines.

Examples

Run this code
tabular( (Literal("Some text") + Species)  ~ 
       All(iris)*mean, data=iris )

Run the code above in your browser using DataLab