in tab() and tab_many(), possibility to add unweighted counts (add_n = TRUE) ; and with row and column percentages a row or column with the other kind of percentage (add_pct = TRUE)
kable_tabxplor_style() : same html table style thantab_kable(), but for any data.frame.
with color = "diff", a ×2 color rule was added
enhanced printing of confidence intervals for differences
enhanced printing of pvalue (<0.01% style), Chi2 number added in Chi2 tables.
jmvtab() : implementation of tab_many()for Jamovi, with a user interface
tab_plot() : print tables as ggplot, to export as images
tab_wrap_text() : function to wrap text in rownames and colnames
tabxplor 1.1.3
Bug corrections :
tab_kable() : html tags in tables were no longer working and were appearing as text (knitr::kable() now needs a format = "html" argument)
tabxplor 1.1.2
Added :
tab_kable() : a color_legend argument have been added, to possibly remove the legend.
Bug corrections :
tab_color_legend had a mistake causing an error
tabxplor 1.1.1
Added :
fct_recode_helper() : helper function to recode multiple variables with forcats::fct_recode.
complete_partial_totals() : complete partial total rows, total tables, and reference rows.
Bug corrections :
tab_spread : incomplete subtables led to partial total rows, total tables and reference rows.
tab_xl : with sheets = "unique", multiple empty sheets were created anyway
crayon() error with colors in tabs printing on R 4.2.2
color printing was not working with only one numericcol_var
tabxplor 1.1.0
Added :
tab_plain have been separated in two functions,tab_plain for factors, tab_num for numeric variables
tab_plain and tab_num have been rewrited in data.table to gain speed with big databases.
tabxplor 1.0.3
Added :
Remove rows with missing values or 0 in wt (weight), for them not to be added in counts (except intab_plain)
fmt_get_color_code() : get the html color codes of a table as a character vector
Bug corrections :
tab_many : bug with totaltab when two numeric column variables (and a tabs_var)
tab_spread not working with two tab_vars. Ok with a workaround, but would need to calculate one subtotal for each level of spread_vars in * tab_totaltab to fully work (and, then, to fully hierarchise total tables…).
wt argument procudes missing values with NA ; NA in weight variable are now automatically removed (excepted intab_plain)
Addition between fmt vectors wasn’t working no more with percentages
In tab_plain, col_var was not sorted anymore (names_sort = TRUE added inpivot_wider)
tab_color_legend() was not working when some cols were colored and some not colored
In tab() functions, correction was made to remove a R 4.1.2 dplyr warning message (data frame results infilter() are deprecated, use if_any() orif_all()).
tabxplor 1.0.2
Added :
With tab_kable, option to use html popoverinstead of tooltips, to be able to use it in rmarkdown with a floating table of content.
Two new 24 bits color styles for hmtl tables ("blue_red" and "green_red").
Possibility to provide a custom color palette for color styles, using set_color_style().
tab_core was deprecated and renamedtab_plain for more clarity. Added options to render a table with normal numeric vectors instead of fmt, and to render a plain data.frame instead of a tibble.
Two way to print confidence intervals, using global option"tabxplor.ci_print" : "moe", for margin of errors, prints as 12%±1.1 ; "ci" prints the interval 11·13%.
In tab_kable, confidence intervals of type"cell with print type "moe" appear in subscript.
In tab_xl, colors now are the same and works in the same way that tab and tab_kable.
Bug corrections :
With tab argument color = "after_ci", whendiff is negative, cells between 0 and -5% don’t get colors.
Problems in tab_plain with zero-rows dataframes
With color = "contrib", no color when contribution is equal to the mean contribution (or a multiple of it).
With tab_kable, white spaces are producing unwanted text wrapping (in the middle of numbers)
In tabs and tooltips, diff not printing good withtype = "mean".
tabxplor 1.0.1
Add possibility to export tables in html usingkableExtra.
Ensure functions do not write by default in the user’s home filespace.
Bug corrections :
Change color style not working in R CMD check : add possibility to change color style with global options.
Total rows appear even when not wanted in tab andtab_many.
tab_many not working withlisted = "TRUE"
tabxplor 1.0.0
This is the first stable and published version oftabxplor.