Adjuts number of digits for small pvalue to be displayed in title of a plot using renderPlot in Shiny in R
In R one can use options(digits=n) to adjust the number of digits in the output value. However, this does not work in Shiny, and sprintf() does not work with very low numbers either since it would only display zeros. So, how could i obtain in Shiny something like options(digits = 4) p.val$p.value [1] 3.724e-23 So… Read More Adjuts number of digits for small pvalue to be displayed in title of a plot using renderPlot in Shiny in R