title: How to stop bookdown tables from floating to bottom of the page in pdf?
body: <p>I am using <code>bookdown</code> to create pdf reports, but my tables are all floating down to the bottom of the page, regardless of how much space there is. See this example:</p>
  
  <pre><code>---
  title: "test_doc"
  author: "Jake Thompson"
  date: "6/30/2017"
  output:
    bookdown::pdf_document2:
      toc: false
  ---
  
  ```{r setup, include=FALSE}
  knitr::opts_chunk$set(echo = FALSE, collapse = TRUE)
  library(tidyverse)
  ```
  
  # Test heading
  
  Let make a data frame and print it in Table \@ref(tab:test-table)
  
  ```{r test-table}
  data_frame(col_a = seq_len(5), col_b = rnorm(5), col_c = runif(5)) %&gt;%
    knitr::kable(caption = "This is a test")
  ```
  </code></pre>
  
  <p>The resulting pdf looks like this:</p>
  
  <p><img src="https://i.imgur.com/oVytw8W.png" alt="pdf-output"></p>
  
  <p>Why does the table go to the bottom of the page? And is there a way to prevent this behavior?</p>