Printing statistics nicely
1 2 3 4 5 6 7 8 9 10 11 12 13 | mround(x, base)
specify_decimal(x, k, trim = FALSE)
print_pval(pval, k = 3)
print_est1bracket(x, b, round = 1)
print_est2bracket(x, b1, b2, round = 1)
print_2bracket(b1, b2, round = 1)
align_decimal(x)
|
x |
Statistic |
base |
rounds to the nearest 'base' |
k |
Number of decminal places to round to |
pval |
p-value (or any probability) |
b, b1, b2 |
bracketed values |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.