Package: mmtable2 0.1.3

Ian Moran

mmtable2: Create and combine tables with a ggplot2/patchwork syntax

Add headers using data from a column in your data frame. Combine tables with +, / and * operators. Output tables in gt package format.

Authors:Ian Moran

mmtable2_0.1.3.tar.gz
mmtable2_0.1.3.zip(r-4.5)mmtable2_0.1.3.zip(r-4.4)mmtable2_0.1.3.zip(r-4.3)
mmtable2_0.1.3.tgz(r-4.4-any)mmtable2_0.1.3.tgz(r-4.3-any)
mmtable2_0.1.3.tar.gz(r-4.5-noble)mmtable2_0.1.3.tar.gz(r-4.4-noble)
mmtable2_0.1.3.tgz(r-4.4-emscripten)mmtable2_0.1.3.tgz(r-4.3-emscripten)
mmtable2.pdf |mmtable2.html
mmtable2/json (API)

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

Peer review:

Bug tracker:https://github.com/ianmoran11/mmtable2/issues

Datasets:
  • gapminder_mm - Gapminder data.
  • student_df - A minimal data set of student subjects and grades
  • student_df_1 - A minimal data set of student subjects and grades
  • student_df_2 - A minimal data set of student subjects and grades
  • table1 - A minimal data set of student subjects and grades

On CRAN:

6.29 score 130 stars 60 scripts 40 exports 67 dependencies

Last updated 3 years agofrom:02ffc53ca0. Checks:OK: 1 NOTE: 6. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 20 2024
R-4.5-winNOTENov 20 2024
R-4.5-linuxNOTENov 20 2024
R-4.4-winNOTENov 20 2024
R-4.4-macNOTENov 20 2024
R-4.3-winNOTENov 20 2024
R-4.3-macNOTENov 20 2024

Exports:add_cells_formatadd_header_formatadd_header_leftadd_header_left_topadd_header_topadd_header_top_leftadd_spanneradd_table_formatadd_table_source_noteapply_formatapply_formatsapply_ifcells_formatdiagonalizeformat_a_locgen_random_idsget_locationsget_max_area_bfget_row_header_namesget_spanner_html_textheader_formatheader_leftheader_left_topheader_merged_colsheader_topheader_top_leftknit_print.mmtablemmtableset_classsingle_cells_to_vectorsort_and_select_columnsspannerizespread_col_headersstyle_first_col_headerstyle_spannertable_constructortable_formattable_source_notetable_titletransfer_spanner

Dependencies:backportsbase64encbigDbitopsbroombslibcachemclicolorspacecommonmarkcpp11curldigestdplyrevaluatefansifarverfastmapfontawesomeforcatsfsgenericsgluegthighrhtmltoolshtmlwidgetsjquerylibjsonlitejuicyjuiceknitrlabelinglatticelifecyclemagrittrmarkdownmemoisemimemunsellpillarpkgconfigpurrrR6rappdirsRColorBrewerRcppreactablereactRrlangrmarkdownsassscalesstringistringrtibbletidyrtidyselecttinytexutf8V8vctrsviridisLitewithrxfunxml2yamlzoo

Building a regression table

Rendered fromBuilding-a-regression-table.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2021-09-17
Started: 2021-05-20

Combining tables

Rendered fromCombining-tables.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2021-10-19
Started: 2021-05-20

Constructing tables

Rendered fromConstructing-tables.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2021-10-19
Started: 2021-05-20

Some minimal examples

Rendered fromSome-minimal-examples.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2021-10-19
Started: 2021-05-20

Styling tables

Rendered fromStyling-tables.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2021-10-19
Started: 2021-05-20

Readme and manuals

Help Manual

Help pageTopics
Integrate two tables horizontally*.mmtable
Concatenate tables horizontally/.mmtable
Integrate two tables horizontally+.mmtable
Add cells formattingadd_cells_format
Add formatting to a headeradd_header_format
Add a left headeradd_header_left
Add a left top headeradd_header_left_top
Add a top headeradd_header_top
Add a top left headeradd_header_top_left
Add a spanner to a tableadd_spanner
Add formatting to a tableadd_table_format
Add a table source noteadd_table_source_note
Apply formating to a mmtableapply_format
Apply list of formating commands to a mmtableapply_formats
Conditionally apply a functionapply_if
Format table cellscells_format
Remove adjacent repeats in a dataframediagonalize
Extract the largest binary rectary from a list of rows and colsextract_max_rects
Apply formatting to a locationformat_a_loc
Gapminder data.gapminder_mm
Generate a random stringgen_random_ids
Identify which locations are to be formatted.get_locations
An algorthm to identify the largest rectangle in a histogramget_max_area_bf
Get row header names.get_row_header_names
Get the html associated with a spannerget_spanner_html_text
Format the cells of a header.header_format
Add a left headerheader_left
Add a left top headerheader_left_top
Merge header columnsheader_merged_cols
Add a top headerheader_top
Add a top left headerheader_top_left
Print an mmtable objectknit_print.mmtable
Create an mmtable objectmmtable
Print an mmtable objectprint.mmtable
Set the class of an objectset_class
Convert a list of cells to a list of cell rangessingle_cells_to_vector
Sort and select columnssort_and_select_columns
Convert header to spannerspannerize
Spread rows to columnsspread_col_headers
A minimal data set of student subjects and gradesstudent_df
A minimal data set of student subjects and gradesstudent_df_1
A minimal data set of student subjects and gradesstudent_df_2
Style the first col headerstyle_first_col_header
Style a spannerstyle_spanner
Use attributes to construct a table with column and row headers.table_constructor
Format a mmtable object.table_format
Table source notetable_source_note
Add a table titletable_title
A minimal data set of student subjects and gradestable1
Transfer spanner from one table to anothertransfer_spanner