Description Usage Arguments Author(s) Examples
nice formatting for p-values
1 | pval_smartformat(p, d = 3, sd = 5)
|
p |
a numeric pvalue |
d |
the digits less than which should be displayed as less than |
sd |
scientific digits for round |
Joshua F. Wiley <josh@elkhartgroup.com>
1 2 | varian:::pval_smartformat(c(1, .15346, .085463, .05673, .04837, .015353462,
.0089, .00164, .0006589, .0000000053326), 3, 5)
|
Loading required package: rstan
Loading required package: ggplot2
Loading required package: StanHeaders
rstan (Version 2.17.3, GitRev: 2e1f913d3ca3)
For execution on a local, multicore CPU with excess RAM we recommend calling
options(mc.cores = parallel::detectCores()).
To avoid recompilation of unchanged Stan programs, we recommend calling
rstan_options(auto_write = TRUE)
[1] "1.000" ".153" ".085" ".057" ".048" ".015" ".009" ".002"
[9] "< .001" "< .001"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.