I am producing a PDF document .using R Markdown and tinytex. The latex engine is xelatex. I want to know how to control table placement on the page.
In the example below, I create a bit of two column output, display some text and a map in the two columns The next chunk outputs a table (in a single column).. I want the table to be under the two-column output, but is is currently sitting at the bottom of the page. (this example has multiple UCF calls, they all work. I am more concerned with putting the output chunks on a page.)
BEGIN CODE:
Demographic and Economic Profile for r placeName
r if(outStats) '## Basic Statistics'
\bminione #Code that starts the two-column output (works)
if(outStats) {
cat(baseText(placeName))
}
\emini
\bminitwo
if(outStats){
y <- cp_countymap(substr(fips5,3,5))
print(y)
}
\emini #End of two-column output
\FloatBarrier
if(outStats){
x <- statsTable1(cty=fips5,
place="",
sYr=2010,
eYr= oYr,
ACS=oACS,
oType="latex")
print(x)
}
END CODE
Any ideas how to control where the outputs of the R markdown chunks sit on the page?
TIA
AB