You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New officer helper body_add_table_section(), which adds a table (crosstable or flextable) which can be surrounded by a title (level 3 by default), a legend, and/or a short sentence.
set_label() now accepts a function as a value (e.g. set_label(mtcars2, toupper)).
Argument format_fixed(scientific) can now be FALSE to force standard format. Can be set through options(crosstable_scientific_log=FALSE) (#49).
New argument format_fixed(epsilon) to format values as "<epsilon". Can be set through options(crosstable_format_epsilon=0.001).
Markdown implementation has improved, with support of crossing patterns (#26), newline tokens (#30), and many new tags (#51).
You can now use body_add_normal("Here is **`some code` in bold & *italic* ** <br> And here is <color:red>red text</color>.")
See ?body_add_normal for more insight.
Bug fixes and improvements
Reimplement description of columns containing both NA (missing values) and "NA" (characters) (#42).
Argument as_flextable(by_header) can now be set through options(crosstable_by_header=FALSE) to remove all headers.
Argument body_add_crosstable(header_fontsize) now defaults to 1.2*body_fontsize.
Adds an error message in as_flextable() when the crosstable is empty (#41).
Fixes a regression where references were not added anymore.