View source: R/regressiontable.R
RegressionTable | R Documentation |
Creates a pretty formattable table for regression output.
RegressionTable(
coefficient.table,
footer,
title = "",
subtitle = "",
estimate.name = "Estimate",
se.name = "Standard<br/>Error",
statistic.name = "<span style='font-style:italic;'>t</span>",
p.name = "<span style='font-style:italic;'>p</span>",
p.cutoff = 0.05
)
coefficient.table |
A table of regression coefficients, standard errors, z or t statistics, and p-values. |
footer |
Text to place in the footer of the table. |
title |
The title for the table. |
subtitle |
Subtitle for the table. |
estimate.name |
The name of the Estimate column. Defaults to "Estimate". |
se.name |
The name of the standard error column. Defaults to "Standard<br/>Error". |
statistic.name |
The name of the test-statistic column. Defaults to "<span style='font-style:italic;'>t</span>"". |
p.name |
The name of the p-value column. Defalts to "Estimate". |
p.cutoff |
The alpha level used when formatting the p-value column. |
This is based on code written by Kenton Russell.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.