Showing more decimal places with renderTable()

2,174 views
Skip to first unread message

Jimmy Castiglione

unread,
Apr 24, 2013, 6:18:09 PM4/24/13
to shiny-...@googlegroups.com
Hi,

I was wondering if anyone knows of an easy way to increase the number of decimal places shown with renderTable(). I'm writing an app that computes and shows P-values, and the two decimal place default is insufficient. 

Thanks 

Håkan Eriksson

unread,
Apr 26, 2013, 3:46:43 AM4/26/13
to shiny-...@googlegroups.com
You could set digits = X to renderTable, like so:
  output$table <- renderTable(
    expr=table,
    digits = 4
  )
Reply all
Reply to author
Forward
0 new messages