Creates a LaTeX table of results. Depends on the xtable package.
Usage
## S3 method for class 'A3'
xtable(x, ...)
Arguments
x
an A3 object.
...
additional arguments passed to the print.xtable function.
Examples
x <- a3.lm(rating ~ ., attitude, p.acc = NULL)
xtable(x)
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(A3)
Loading required package: xtable
Loading required package: pbapply
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/A3/xtable.A3.Rd_%03d_medium.png", width=480, height=480)
> ### Name: xtable.A3
> ### Title: Nicely Formatted Fit Results
> ### Aliases: xtable.A3
>
> ### ** Examples
>
> x <- a3.lm(rating ~ ., attitude, p.acc = NULL)
> xtable(x)
% latex table generated in R 3.3.1 by xtable 1.8-2 package
% Mon Jul 4 14:05:45 2016
egin{table}[ht]
centering
egin{tabular}{l|rr}
hline
& Average Slope & CV $R^2$ \
hline
-Full Model- & & $62.6 %$ \
(Intercept) & $10.7871$ & $- 2.5 %$ \
complaints & $ 0.6132$ & $+ 19.7 %$ \
privileges & $-0.0731$ & $- 1.8 %$ \
learning & $ 0.3203$ & $+ 6.6 %$ \
raises & $ 0.0817$ & $- 1.7 %$ \
critical & $ 0.0384$ & $- 2.4 %$ \
advance & $-0.2171$ & $+ 2.9 %$ \
hline
end{tabular}
end{table}
>
>
>
>
>
> dev.off()
null device
1
>