2

I'm trying to get a basic xtable going and the math symbols are not showing up. I have the following snippets:

Server.R

output$FGR <- renderTable({
  results <- as.data.frame(createOutput()$resultsFGR)
  colnames(results) <- c("Prevalence","$HR|H_0$", "HR TPP", "A","B")
  results <- xtable(results)
  return(results)
}, sanitize.text.function = function(x) x)

UI.R

tableOutput('FGR')

I've imported xtable in server.R.

What am I missing?

zx8754
  • 52,746
  • 12
  • 114
  • 209
user1357015
  • 11,168
  • 22
  • 66
  • 111

0 Answers0