View source: R/dtable-latex_format.R
dtable_format_old | R Documentation |
overall, low-precision formatting of dtable objects - quick and dirty way of getting something ok (hopefully), fast. could be developed...
dtable_format_old(
dt,
b = 1,
bh = 1,
hfnc = base::round,
bl = 2,
lfnc = NULL,
br = 2,
rfnc = base::signif,
p_b = 1e-04,
peq0 = TRUE,
tmax = 30,
repus = TRUE,
repwith = "\\_"
)
dt |
a dtable |
b |
boundary, if numbers are consistently higher they are handled by 'bh' and 'hfnc', if consistently lower by 'bl' and 'lfnc', and otherwise by 'br' and 'rfnc' |
bh |
digits argument for |
hfnc |
format function for above boundary numbers |
bl |
digits argument for |
lfnc |
format function for below boundary numbers? But current implementation might override this, I can't figure out what is best here |
br |
digits argument for |
rfnc |
format function for other numbers |
p_b |
threshold for how small p values to show. Any variable which is between 0 and 1 is considered a 'p-value' here, which need not be the case. |
peq0 |
even if we abbreviate small 'p-values' should we explicitly put = "0" if it is equal to zero? |
tmax |
how many characters to print for a character vector |
repus |
should we replace "_" with 'repwith' in character variables? (If not LaTeX might fail.) |
repwith |
that which to replace underscore with, default "\_" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.