cell_label {tangram} | R Documentation |
Create an cell_label (S3) object of the given text.
Description
A cell_label object represents a label cell inside a table. It can also contain units.
Usage
cell_label(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 tangram object
Examples
cell_label("Compaction Method")
cell_label("Concentration", "mg/dl")
cell_label("Concentration", "mg/dl", subcol="A")
[Package tangram version 0.8.2 Index]