Description Usage Arguments Examples
Creates a LaTeX table of results. Depends on the xtable package.
1 2 | ## S3 method for class 'A3'
xtable(x, ...)
|
x |
an A3 object. |
... |
additional arguments passed to the |
1 2 |
Loading required package: xtable
Loading required package: pbapply
% latex table generated in R 3.4.4 by xtable 1.8-3 package
% Tue Dec 4 08:44:52 2018
\begin{table}[ht]
\centering
\begin{tabular}{l|rr}
\hline
& Average Slope & CV $R^2$ \\
\hline
-Full Model- & & $59.0 \%$ \\
(Intercept) & $10.7871$ & $- 4.1 \%$ \\
complaints & $ 0.6132$ & $+ 21.0 \%$ \\
privileges & $-0.0731$ & $+ 0.2 \%$ \\
learning & $ 0.3203$ & $+ 7.9 \%$ \\
raises & $ 0.0817$ & $- 1.2 \%$ \\
critical & $ 0.0384$ & $- 5.9 \%$ \\
advance & $-0.2171$ & $+ 4.0 \%$ \\
\hline
\end{tabular}
\end{table}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.