This replaces the automatic heading or row label on the following item
with the name
or string as specified. If no argument
is given, the heading or label is suppressed.
An alternative form of Heading(name)
is (name=...)
, where
...
is an expression to be displayed in the table.
If override = FALSE
, the label is only supplied if there is no other label.
This is used in the code for Factor
.
The nearData
argument is rarely used. It
affects the situation where "+"
is used to
join tables with different numbers of labels.
If nearData = TRUE
(the default), the shorter
list of labels are pushed close to the data, i.e.
to the right side for row labels, the bottom for
column labels. If FALSE
, they are pushed
to the opposite side.