styles | R Documentation |
Methods for setting and getting templates for formatting
model coefficients and summaries for use in mtable
.
setCoefTemplate(...)
getCoefTemplate(style)
getSummaryTemplate(x)
setSummaryTemplate(...)
summaryTemplate(x)
... |
sevaral tagged arguments; in case of |
style |
a character string with the name of a coefficient style, if left empty, all coefficient templates are returned. |
x |
a model or a name of a model class, for example |
The style in which model coefficients are formatted by mtable
is by default selected from the coef.style
setting of options
,
"factory-fresh" setting being options(coef.style="default")
.
The appearance of factor levels in an mtable
can be influenced by the factor.style
setting of options
.
The "factory-fresh" setting is options(factor.style="($f): ($l)")
,
where ($f)
stands for the factor name and ($l)
stands
for the factor level. In case of treatment contrasts, the baseline level
will also appear in an mtable
separated from the current
factor level by the baselevel.sep
setting of options
.
The "factory-fresh" setting is options(baselevel.sep="-")
,
Users may specify additional coefficient styles by a call to setCoefTemplate
.
In order to adapt the display of summary statistics of other model classes, users need to
set a template for model summaries via a call to setSummaryTemplate
or to define a method of the generic function summaryTemplate
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.