Я пытаюсь напечатать несколько таблиц x в документе уценки с некоторым текстом между ними. Однако в выходном PDF-файле нет таблиц в том порядке, который я указал. Я прикрепил пример кода и вывод ниже
---
title: "Table Test"
author: "Nishant"
date: "December 15, 2015"
output: pdf_document
---
#XYZ Factor correlation
```{r,echo=FALSE,warning=FALSE,message=FALSE,results='asis',fig.pos='H'}
library(xtable)
options(xtable.comment = FALSE)
R.Name = c('Europe','North.America','Pacific')
x= array(0, dim = c(3,3))
colnames(x) = R.Name
rownames(x) = R.Name
print.xtable(xtable(x))
print.xtable(xtable(x))
print.xtable(xtable(x))
print.xtable(xtable(x))
print.xtable(xtable(x))
print.xtable(xtable(x))
```
\pagebreak
#XYZ Neutralized Factor Correlation
We next present the results for neutralized factor returns. Specifically we present the correlations of the residuals of factor returns after regressing them against the global variants of each of the factor and the market. We exclude the global variant of the factor in question
```{r,echo=FALSE,warning=FALSE,message=FALSE,results='asis',fig.pos='H'}
x= array(0, dim = c(3,3))
print.xtable(xtable(x))
print.xtable(xtable(x))
print.xtable(xtable(x))
print.xtable(xtable(x))
print.xtable(xtable(x))
print.xtable(xtable(x))
```