title: Vertical alignment in kableextra
body: <p>I am having some trouble aligning results in Kableextra.</p>
  
  <pre><code>---
  title: "Report test 1"
  author: "Adam"
  date: "May 9, 2019"
  output: pdf_document
  ---
  
  COLLEGE: College of Education
  
  DEPARTMENT: Office of Assessment and Accreditation
  
  SEMESTER: Fall 2018
  
  SECTION 1:  Please provide the mean and frequency distribution of the two required questions for all Traditional Delivery Courses. NOTE:  The MEAN and N is required. The Frequency is optional.  
  
  x&lt;-c(45,2,8,10,32,33)
  y&lt;-c(2,3,3,3,3,3)
  EDLP_D.1&lt;-cbind(x,y)
  
  colnames(EDLP_D.1)&lt;- c("Sheet", "Please indicate your level of satisfaction with the availability of the instructor outside the classroom. (In selecting your rating, consider the instructor's availability via established office hours, appointments, and opportunities for face-to-face interaction as well and as via telephones, e-mail, fax, and other means") 
  
  #function to compute values needed for table 
  vec_fun4 &lt;- function(x,y){
    Vec &lt;-c(colnames(x[,y]),round(mean(x[[y]]),2),length(which(!is.na(x[,y]==F))),length(which(x[,y]==1)),length(which(x[,y]==2)),length(which(x[,y]==3)),length(which(x[,y]==4)))
    return(Vec)   
  }
  
  #Switch from long format to wide format
  item2.1 &lt;- as.data.frame(t(as.matrix(vec_fun4(EDLP_D.1,1))))
  
  #Make table
  library(kableExtra)
  
  kable(item2.1,"latex" ,booktabs=T, align = "lcccccc", col.names=linebreak(c(' ','Mean','\\textit{N}' ,'Strongly\n Disagree','Disagree','Agree','Strongly\n Agree')),row.names = F,escape=F) %&gt;% 
    column_spec(1, width = "20em" )
  </code></pre>
  
  <p>I would like to have the numeric values centered horizontally and vertically within their cells. </p>
  
  <p>I have attached a copy of the table here </p>
  
  <p><a href="https://i.stack.imgur.com/slPbL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/slPbL.png" alt="Table"></a></p>