File: structure.tex

package info (click to toggle)
r-cran-htmltable 2.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,600 kB
  • sloc: javascript: 6,797; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 2,771 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
%latex.default(structure(list(`1` = c("18", "14.6", "20.2", "18.9", "15.5", "20", "22.9", "16.9"), `2` = c("17.1", "14.6", "19.8", "17.7", "15.5", "20", "19.6", "16.8"), `3` = c("15.4", "14.5", "19.4", "16.5", "15.5", "20", "18.5", "16.7"), `4` = c("0.8", "0.1", "0.6", "1.1", NA, NA, "1.5", "0.1"), `5` = c("245", "335", "110", "123", "175", "97", "109", "113"), `6` = c("194.2", "299.5", "107.5", "116.5", "175", "97", "76", "102"), `7` = c("150", "264", "105", "110", "175", "97", "52", "91"), `8` = c("33.4", "50.2", "3.5", "7.5", NA, NA, "20.1", "15.6"), `9` = c("19.2", "15.8", "21.4", "21", "19.7", "21.5", "33.9", "30.4"), `10` = c("15.1", "15.4", "19.8", "19.8", "19.7", "21.5", "26.9", "28.2"), `11` = c("10.4", "15", "18.1", "17.8", "19.7", "21.5", "21.4", "26"), `12` = c("2.8", "0.6", "2.3", "1.6", NA, NA, "4.8", "3.1")), row.names = c(NA, -8L), class = c("tbl_df", "tbl", "data.frame")), rnames = c("3 Gears", "5 Gears", "3 Gears", "4 Gears", "5 Gears", "3 Gears", "4 Gears", "5 Gears"), header = c("Max", "Mean", "Min", "SD", "Max", "Mean", "Min", "SD", "Max", "Mean", "Min", "SD"), label = "test_table",     rowlabel = "row", rgroup = c("8 Cylinders", "6 Cylinders",     "4 Cylinders"), n.rgroup = c(2L, 3L, 3L), cgroup = c("qsec",     "hp", "mpg"), n.cgroup = c(4L, 4L, 4L))%
\begin{table}[!tbp]
\begin{center}
\begin{tabular}{lllllcllllcllll}
\hline\hline
\multicolumn{1}{l}{\bfseries row}&\multicolumn{4}{c}{\bfseries qsec}&\multicolumn{1}{c}{\bfseries }&\multicolumn{4}{c}{\bfseries hp}&\multicolumn{1}{c}{\bfseries }&\multicolumn{4}{c}{\bfseries mpg}\tabularnewline
\cline{2-5} \cline{7-10} \cline{12-15}
\multicolumn{1}{l}{}&\multicolumn{1}{c}{1}&\multicolumn{1}{c}{2}&\multicolumn{1}{c}{3}&\multicolumn{1}{c}{4}&\multicolumn{1}{c}{}&\multicolumn{1}{c}{5}&\multicolumn{1}{c}{6}&\multicolumn{1}{c}{7}&\multicolumn{1}{c}{8}&\multicolumn{1}{c}{}&\multicolumn{1}{c}{9}&\multicolumn{1}{c}{10}&\multicolumn{1}{c}{11}&\multicolumn{1}{c}{12}\tabularnewline
\hline
{\bfseries 8 Cylinders}&&&&&&&&&&&&&&\tabularnewline
~~1&18&17.1&15.4&0.8&&245&194.2&150&33.4&&19.2&15.1&10.4&2.8\tabularnewline
~~2&14.6&14.6&14.5&0.1&&335&299.5&264&50.2&&15.8&15.4&15&0.6\tabularnewline
\hline
{\bfseries 6 Cylinders}&&&&&&&&&&&&&&\tabularnewline
~~3&20.2&19.8&19.4&0.6&&110&107.5&105&3.5&&21.4&19.8&18.1&2.3\tabularnewline
~~4&18.9&17.7&16.5&1.1&&123&116.5&110&7.5&&21&19.8&17.8&1.6\tabularnewline
~~5&15.5&15.5&15.5&&&175&175&175&&&19.7&19.7&19.7&\tabularnewline
\hline
{\bfseries 4 Cylinders}&&&&&&&&&&&&&&\tabularnewline
~~6&20&20&20&&&97&97&97&&&21.5&21.5&21.5&\tabularnewline
~~7&22.9&19.6&18.5&1.5&&109&76&52&20.1&&33.9&26.9&21.4&4.8\tabularnewline
~~8&16.9&16.8&16.7&0.1&&113&102&91&15.6&&30.4&28.2&26&3.1\tabularnewline
\hline
\end{tabular}\end{center}
\end{table}