[Rcpp-commits] r602 - papers/rjournal

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Feb 6 16:42:57 CET 2010


Author: edd
Date: 2010-02-06 16:42:57 +0100 (Sat, 06 Feb 2010)
New Revision: 602

Modified:
   papers/rjournal/EddelbuettelFrancois.tex
   papers/rjournal/RJwrapper.tex
Log:
fancier table


Modified: papers/rjournal/EddelbuettelFrancois.tex
===================================================================
--- papers/rjournal/EddelbuettelFrancois.tex	2010-02-06 15:32:24 UTC (rev 601)
+++ papers/rjournal/EddelbuettelFrancois.tex	2010-02-06 15:42:57 UTC (rev 602)
@@ -726,15 +726,15 @@
 
 \begin{center}
 \begin{small}
-\begin{tabular}{cc}
-\textbf{Method} & \textbf{Elapsed Time} (ms) \\ 
-\hline
-R API & 34 \\
-\hline
-\code{RcppVector<double>} & 353 \\
-\code{NumericVector::operator[]} & 55 \\
-\code{NumericVector::begin} & 36 \\
-\hline
+\begin{tabular}{lrr}
+\toprule
+\textbf{Method} & \textbf{Time} (ms) & Ratio \\ 
+\cmidrule(r){2-3}
+R API & 34 & \\
+\code{RcppVector<double>} & 353 & 10.38 \\
+\code{NumericVector::operator[]} & 55 & 1.61 \\
+\code{NumericVector::begin} & 36 &  1.06 \\
+\bottomrule
 \end{tabular}
 \end{small}
 \end{center}

Modified: papers/rjournal/RJwrapper.tex
===================================================================
--- papers/rjournal/RJwrapper.tex	2010-02-06 15:32:24 UTC (rev 601)
+++ papers/rjournal/RJwrapper.tex	2010-02-06 15:42:57 UTC (rev 602)
@@ -2,6 +2,7 @@
 \usepackage{RJournal}
 \usepackage[round]{natbib}
 \bibliographystyle{abbrvnat}
+\usepackage{booktabs}
 
 %% load any required packages here
 



More information about the Rcpp-commits mailing list