Package: tabxplor 1.2.1

tabxplor: User-Friendly Tables with Color Helpers for Data Exploration

Make it easy to deal with multiple cross-tables in data exploration, by creating them, manipulating them, and adding color helpers to highlight important informations (differences from totals, comparisons between lines or columns, contributions to variance, confidence intervals, odds ratios, etc.). All functions are pipe-friendly and render data frames which can be easily manipulated. In the same time, time-taking operations are done with 'data.table' to go faster with big dataframes. Tables can be exported with formats and colors to 'Excel', plot and html.

Authors:Brice Nocenti [aut, cre]

tabxplor_1.2.1.tar.gz
tabxplor_1.2.1.zip(r-4.5)tabxplor_1.2.1.zip(r-4.4)tabxplor_1.2.1.zip(r-4.3)
tabxplor_1.2.1.tgz(r-4.4-any)tabxplor_1.2.1.tgz(r-4.3-any)
tabxplor_1.2.1.tar.gz(r-4.5-noble)tabxplor_1.2.1.tar.gz(r-4.4-noble)
tabxplor_1.2.1.tgz(r-4.4-emscripten)tabxplor_1.2.1.tgz(r-4.3-emscripten)
tabxplor.pdf |tabxplor.html
tabxplor/json (API)
NEWS

# Install 'tabxplor' in R:
install.packages('tabxplor', repos = c('https://bricenocenti.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/bricenocenti/tabxplor/issues

On CRAN:

5.21 score 1 stars 1 packages 12 scripts 810 downloads 61 exports 90 dependencies

Last updated 2 months agofrom:03ab413f4b. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 21 2024
R-4.5-winOKNov 21 2024
R-4.5-linuxOKNov 21 2024
R-4.4-winOKNov 21 2024
R-4.4-macOKNov 21 2024
R-4.3-winOKNov 21 2024
R-4.3-macOKNov 21 2024

Exports:%>%as_refcolas_refrowas_totcolas_totrowas_tottabcomplete_partial_totalsfct_recode_helperfmtfmt_get_color_codeget_ci_typeget_col_varget_colorget_color_breaksget_color_styleget_comp_allget_digitsget_numget_ref_typeget_typeis_fmtis_refcolis_refrowis_tabis_totcolis_totrowis_tottabjmvtabkable_tabxplor_stylenew_grouped_tabnew_tabscore_from_lv1set_ci_typeset_col_varset_colorset_color_breaksset_color_styleset_comp_allset_diff_typeset_digitsset_displayset_numset_typetabtab_chi2tab_citab_get_varstab_get_wrapped_dimensionstab_kabletab_manytab_numtab_pcttab_plaintab_plottab_preparetab_spreadtab_tottab_totaltabtab_wrap_texttab_xltab_xl_confidential

Dependencies:askpassbase64encbitbit64bootbslibcachemcellrangerclassclicliprcolorspacecpp11crayoncurldata.tableDescToolsdigestdplyre1071evaluateExactexpmfansifarverfastmapfontawesomeforcatsfsgenericsgldgluehavenhighrhmshtmltoolshttrjquerylibjsonlitekableExtraknitrlabelinglatticelifecyclelmommagrittrMASSMatrixmemoisemimemunsellmvtnormopensslpillarpkgconfigprettyunitsprogressproxypurrrR6rappdirsRColorBrewerRcppreadrreadxlrematchrlangrmarkdownrootSolverstudioapisassscalesstringistringrsvglitesyssystemfontstibbletidyrtidyselecttinytextzdbutf8vctrsviridisLitevroomwithrxfunxml2yaml

Introduction to tabxplor

Rendered fromtabxplor.Rmdusingknitr::rmarkdownon Nov 21 2024.

Last update: 2024-08-05
Started: 2021-08-29

Readme and manuals

Help Manual

Help pageTopics
subset method for class tabxplor_grouped_tab[.tabxplor_grouped_tab
set sub-subset method for class tabxplor_grouped_tab[[<-.tabxplor_grouped_tab
set subset method for class tabxplor_grouped_tab[<-.tabxplor_grouped_tab
$ method for class tabxplor_fmt$.tabxplor_fmt
Complete partial total rowscomplete_partial_totals
dplyr_col_modify method for class tabxplor_grouped_tabdplyr_col_modify.tabxplor_grouped_tab
dplyr_reconstruct method for class tabxplor_grouped_tabdplyr_reconstruct.tabxplor_grouped_tab
dplyr_row_slice method for class tabxplor_grouped_tabdplyr_row_slice.tabxplor_grouped_tab
fct_recode helper to recode multiple variablesfct_recode_helper
Create a vector of class formatted numbersas_refcol as_refrow as_totcol as_totrow as_tottab fmt get_ci_type get_color get_col_var get_comp_all get_digits get_num get_ref_type get_type is_fmt is_refcol is_refrow is_totcol is_totrow is_tottab set_ci_type set_color set_col_var set_comp_all set_diff_type set_digits set_display set_num set_type
Get HTML Color Code of a fmt vectorfmt_get_color_code
Print method for class tabxplor_fmtformat.tabxplor_fmt
Get confidence intervals type of fmt columnsget_ci_type.data.frame
Get confidence intervals type of fmt columnsget_ci_type.default
Get confidence intervals type of fmt columnsget_ci_type.tabxplor_fmt
Get names of column variable of fmt columnsget_col_var.data.frame
Get names of column variable of fmt columnsget_col_var.default
Get names of column variable of fmt columnsget_col_var.tabxplor_fmt
Get colorget_color.data.frame
Get colorget_color.default
Get colorget_color.tabxplor_fmt
Get differences type of fmt columnsget_ref_type.data.frame
Get differences type of fmt columnsget_ref_type.default
Get differences type of fmt columnsget_ref_type.tabxplor_fmt
Get types of fmt columnsget_type.data.frame
Get types of fmt columnsget_type.default
Get types of fmt columnsget_type.tabxplor_fmt
group_by method for class tabxplor_tabgroup_by.tabxplor_tab
Test function for reference columnsis_refcol.data.frame
Test function for reference columnsis_refcol.default
Test function for reference columnsis_refcol.tabxplor_fmt
Test function to detect cells in reference rowsis_refrow.data.frame
Test function to detect cells in reference rowsis_refrow.default
Test function to detect cells in reference rowsis_refrow.tabxplor_fmt
Test function for total columnsis_totcol.data.frame
Test function for total columnsis_totcol.default
Test function for total columnsis_totcol.tabxplor_fmt
Test function to detect cells in total rowsis_totrow.data.frame
Test function to detect cells in total rowsis_totrow.default
Test function to detect cells in total rowsis_totrow.tabxplor_fmt
Test function to detect cells in total tablesis_tottab.data.frame
Test function to detect cells in total tablesis_tottab.default
Test function to detect cells in total tablesis_tottab.tabxplor_fmt
Crosstablesjmvtab
Print a tabxplor table in htmlkable_tabxplor_style
mutate method to access vctrs::fields of tabxplor_fmt vectorsmutate.tabxplor_fmt
A constructor for class tabxplor_tabnew_grouped_tab new_tab
Print Chi2 tables columnspillar_shaft.tab_chi2_fmt
Pillar_shaft method to print class fmt in a 'tibble' columnpillar_shaft.tabxplor_fmt
Printing method for class tabxplor_grouped_tabprint.tabxplor_grouped_tab
Printing method for class tabxplor_tabprint.tabxplor_tab
relocate method for class tabxplor_grouped_tabrelocate.tabxplor_grouped_tab
rename_with method for class tabxplor_grouped_tabrename_with.tabxplor_grouped_tab
rename method for class tabxplor_grouped_tabrename.tabxplor_grouped_tab
rowwise method for class tabxplor_grouped_tabrowwise.tabxplor_grouped_tab
rowwise method for class tabxplor_tabrowwise.tabxplor_tab
Create a score variable from factorsscore_from_lv1
select method for class tabxplor_grouped_tabselect.tabxplor_grouped_tab
Set the "display" vctrs::field of a 'fmt' vector.set_display.data.frame
Set the "display" vctrs::field of a 'fmt' vector.set_display.default
Set the "display" vctrs::field of a 'fmt' vector.set_display.tabxplor_fmt
summarise method for class tabxplor_grouped_tabsummarise.tabxplor_grouped_tab
Single cross-table, with color helperstab
Add Chi2 summaries to a 'tab'tab_chi2
Add confidence intervals to a 'tab'tab_ci
Get the number of actual rows and the max character length of a table after being wrapped (count \n as a linebreak).tab_get_wrapped_dimensions
Print a tabxplor table in htmltab_kable
Many cross-tables as one, with color helpersget_color_breaks get_color_style is_tab set_color_breaks set_color_style tab_get_vars tab_many
Means tabletab_num
Add percentages and diffs to a 'tab'tab_pct
Plain single cross-tabletab_plain
Print a tabxplor table as plottab_plot
Prepare data for 'tab_plain'.tab_prepare
Spread a tab, passing a tab variable to columntab_spread
Add totals to a 'tab'tab_tot
Add total table to a 'tab'tab_totaltab
Wrap column names and character/factor variables.tab_wrap_text
Excel output for tabxplor tables, with formatting and colorstab_xl
Excel output for tabxplor tables with confidentiality rules.tab_xl_confidential
Table body for class tabtbl_format_body.tabxplor_tab
Table footer for class tabtbl_format_footer.tabxplor_tab
Table headers for class grouped tabtbl_sum.tabxplor_grouped_tab
Table headers for class tabtbl_sum.tabxplor_tab
ungroup method for class tabxplor_grouped_tabungroup.tabxplor_grouped_tab
Vec_arith method for fmtvec_arith.numeric.tabxplor_fmt vec_arith.tabxplor_fmt vec_arith.tabxplor_fmt.default vec_arith.tabxplor_fmt.MISSING vec_arith.tabxplor_fmt.numeric vec_arith.tabxplor_fmt.tabxplor_fmt
Convert fmt into charactervec_cast.character.tabxplor_fmt
Convert fmt into doublevec_cast.double.tabxplor_fmt
Convert fmt into integervec_cast.integer.tabxplor_fmt
Convert double into fmtvec_cast.tabxplor_fmt.double
Convert integer into fmtvec_cast.tabxplor_fmt.integer
Convert fmt into fmtvec_cast.tabxplor_fmt.tabxplor_fmt
Vec_math method for class fmtvec_math.tabxplor_fmt
Compare with fmt vectorvec_proxy_compare.tabxplor_fmt
Test equality with fmt vectorvec_proxy_equal.tabxplor_fmt
Abbreviated display name for class fmt in tibblesvec_ptype_abbr.tabxplor_fmt
Printed type for class fmtvec_ptype_full.tabxplor_fmt
Find common ptype between double and fmtvec_ptype2.double.tabxplor_fmt
Find common ptype between integer and fmtvec_ptype2.integer.tabxplor_fmt
Find common ptype between fmt and doublevec_ptype2.tabxplor_fmt.double
Find common ptype between fmt and integervec_ptype2.tabxplor_fmt.integer
Find common ptype between fmt and fmtvec_ptype2.tabxplor_fmt.tabxplor_fmt