Align multiple tables side by side
<p>The following code produces 2 tables on top of each other. How would I set it to have them aligned side by side, e.g. 3 to a row?</p>

<pre><code>---
title: "sample"
output: pdf_document
---

```{r global_options, R.options=knitr::opts_chunk$set(warning=FALSE, message=FALSE)}
```   

```{r sample, echo=FALSE, results='asis'}
library(knitr)
t1 &lt;- head(mtcars)[1:3]
t2 &lt;- head(mtcars)[4:6]
print(kable(t1))
print(kable(t2))
```
</code></pre>

<p>Output looks like this:
<a href="https://i.stack.imgur.com/EDi50.png" rel="noreferrer"><img src="https://i.stack.imgur.com/EDi50.png" alt="enter image description here"></a></p>