cell_header: Create a cell_header object of the given text.

View source: R/compile-cell.R

cell_headerR Documentation

Create a cell_header object of the given text.

Description

A cell_header object represents a label cell inside a table. It can also contain units.

Usage

cell_header(text, units = NULL, class = NULL, ...)

Arguments

text

character; The text of the label. May include a subset of LaTeX greek or math.

units

character; An optional field that contains units

class

character; An optional field for additional S3 classes (e.g. could be used in html rendering for CSS)

...

optional extra information to attach

Value

A cell_header object

Examples

cell_header("Yahoo")
cell_header("Concentration", "mg/dl")
cell_header("Concentration", "mg/dl", src="A")

tangram documentation built on Feb. 16, 2023, 5:59 p.m.