View source: R/dtable-latex_format.R
dformat_num | R Documentation |
numerical formating (mainly for dtable_format
)
dformat_num(
x,
dg = 1,
ds = 2,
maybe.p = TRUE,
p.bound = 1e-04,
miss = "",
some.scientific = TRUE,
low = 1e-08,
high = 1e+08,
...,
verbose = TRUE
)
x |
vector of numeric values |
dg |
rounding digits for 'great' (abs>1) numbers |
ds |
significance digits for 'small' numbers (abs<1) |
maybe.p |
logical; is x possibly p-values? |
p.bound |
numeric; if p-values, numbers below this will be '<p.bound' |
miss |
character string to replace missing values |
some.scientific |
logical; possibly write some numbers in scientific notation? |
low |
lower threshold for when to resort to scientific notation |
high |
upper threshold for when to resort to scientific notation |
... |
to be able to tolerate argument spamming |
verbose |
logical; tell med things? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.