I am trying to preview a table within my Rmd notebook without knitting the whole document. When I call:
xtable(anthro_table_f)
I get:
% latex table generated in R 3.5.1 by xtable 1.8-3 package
% Sun Sep 16 16:10:36 2018
\begin{table}[ht]
\centering
\begin{tabular}{rllll}
\hline
& Male & Female & p & test \\
\hline
n & 708 & 219 & & \\
HeightCm (mean (sd)) & 175.78 (7.10) & 163.65 (8.32) & $<$0.001 & \\
WeightKg (mean (sd)) & 78.11 (10.95) & 63.59 (8.86) & $<$0.001 & \\
BMI (mean (sd)) & 25.27 (3.19) & 23.80 (3.41) & $<$0.001 & \\
HI\_LateralityQuotient (mean (sd)) & 0.76 (0.43) & 0.87 (0.24) & 0.001 & \\
NeckLengthCm (mean (sd)) & 19.03 (2.98) & 17.39 (3.35) & $<$0.001 & \\
NeckCircCm (mean (sd)) & 38.29 (2.45) & 32.41 (2.05) & $<$0.001 & \\
HeadCircCm (mean (sd)) & 58.03 (1.84) & 56.28 (1.91) & $<$0.001 & \\
NeckVolumeCm (mean (sd)) & 2237.03 (483.68) & 1467.40 (363.38) & $<$0.001 & \\
\hline
\end{tabular}
\end{table}
instead of the actual table below the code. When I knit the whole document, the table appears as expected. How do I get the actual table?