Package: tidytlg 0.1.5

Konrad Pagacz

tidytlg: Create TLGs using the 'tidyverse'

Generate tables, listings, and graphs (TLG) using 'tidyverse.' Tables can be created functionally, using a standard TLG process, or by specifying table and column metadata to create generic analysis summaries. The 'envsetup' package can also be leveraged to create environments for table creation.

Authors:Nicholas Masel [aut], Steven Haesendonckx [aut], Pelagia Alexandra Papadopoulou [aut], Sheng-Wei Wang [aut], Eli Miller [aut], Nathan Kosiba [aut], Aidan Ceney [aut], Janssen R&D [cph, fnd], David Hugh-Jones [cph], Konrad Pagacz [aut, cre]

tidytlg_0.1.5.tar.gz
tidytlg_0.1.5.zip(r-4.5)tidytlg_0.1.5.zip(r-4.4)tidytlg_0.1.5.zip(r-4.3)
tidytlg_0.1.5.tgz(r-4.4-any)tidytlg_0.1.5.tgz(r-4.3-any)
tidytlg_0.1.5.tar.gz(r-4.5-noble)tidytlg_0.1.5.tar.gz(r-4.4-noble)
tidytlg_0.1.5.tgz(r-4.4-emscripten)tidytlg_0.1.5.tgz(r-4.3-emscripten)
tidytlg.pdf |tidytlg.html
tidytlg/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/pharmaverse/tidytlg/issues

Pkgdown:https://pharmaverse.github.io

Datasets:
  • cdisc_adae - ADAE data created from subsetting the CDISC ADAE dataset
  • cdisc_adlb - ADLB data created from subsetting the CDISC ADLB dataset
  • cdisc_adsl - ADSL data created from subsetting the CDISC ADSL with 15 subjects
  • cdisc_advs - ADVS data created from subsetting the CDISC ADVS dataset
  • column_metadata - Metadata describing table column layouts
  • table_metadata - Metadata describing the data, functions and arguments needed to produce your results.

On CRAN:

8.07 score 33 stars 22 scripts 454 downloads 24 exports 56 dependencies

Last updated 6 months agofrom:53654bce27. Checks:OK: 7. Indexed: yes.

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

Exports:add_bottom_bordersadd_formatadd_indentadd_newrowsbind_tablechar2factorcol_bordersfreqgenerate_resultsgentlgnested_freqno_bordersreplace_na_with_blankrmdpstitleroundSASrow_bordersingle_borderspanning_bordersspanning_headersstatlisttidytlg_metadatatidytlg_titlestlgsetupunivar

Dependencies:assertthatbase64enccachemcellrangerclicolorspacecommonmarkcpp11crayondigestdplyrfansifarverfastmapforcatsgenericsggplot2gluegtablehmshtmltoolshuxtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmunsellnlmepillarpkgconfigpngprettyunitsprogresspurrrR6RColorBrewerreadxlrematchrlangrstudioapiscalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithrxml2

Column Metadata & How tidytlg Sets Up Your Data Using tlgsetup

Rendered fromtlgsetup.Rmdusingknitr::rmarkdownon Nov 29 2024.

Last update: 2024-04-22
Started: 2022-12-12

Frequency Analysis

Rendered fromfreq.Rmdusingknitr::rmarkdownon Nov 29 2024.

Last update: 2024-04-22
Started: 2022-12-12

Get Started

Rendered fromtidytlg.Rmdusingknitr::rmarkdownon Nov 29 2024.

Last update: 2024-07-02
Started: 2022-12-12

Manipulating tbl data frame

Rendered fromtbl_manipulation.Rmdusingknitr::rmarkdownon Nov 29 2024.

Last update: 2024-04-22
Started: 2022-12-12

Tips & Tricks: Including Symbols, Superscripts, Subscripts & Line Breaks

Rendered fromsymbols.Rmdusingknitr::rmarkdownon Nov 29 2024.

Last update: 2024-04-22
Started: 2022-12-12

Univariate Statistics Analysis

Rendered fromunivar.Rmdusingknitr::rmarkdownon Nov 29 2024.

Last update: 2024-04-22
Started: 2022-12-12

Readme and manuals

Help Manual

Help pageTopics
Adds bottom borders to a huxtableadd_bottom_borders
Add the formatting variables of 'indentme', 'newrows', 'newpage', and 'roworder' to the results dataframeadd_format
Add indentation variable to the results dataframeadd_indent
Add the newrows variable to the results dataframe.add_newrows
Bind a set of tidytlg tables together with formatting variablesbind_table
ADAE data created from subsetting the CDISC ADAE datasetcdisc adae cdisc_adae
ADLB data created from subsetting the CDISC ADLB datasetcdisc adlb cdisc_adlb
ADSL data created from subsetting the CDISC ADSL with 15 subjects (5 subjects in each arm)cdisc adsl cdisc_adsl
ADVS data created from subsetting the CDISC ADVS datasetcdisc advs cdisc_advs
Convert character variable to a factor based off it's numeric variable counterpart.char2factor
Adds borders under cells in a columncol_borders
Metadata describing table column layoutscolumn_metadata
Frequency counts and percentagesfreq
Generate Results using Table and Column Metadatagenerate_results
Output a tidytlg tablegentlg
Generate nested count/percent for two or three levelsnested_freq
Removes all borders from the tableno_borders
Replace NA with ""replace_na_with_blank
Get Titles and Footnotes for all TLGs or one specific TLGrmdpstitle
SAS rounding in RroundSAS
Adds a continuous bottom border under a rowrow_border
Adds a border under a cellsingle_border
Adds borders under cells in a row, excluding the first column.spanning_borders
Spanning headers for outputsspanning_headers
Create a statlist interface for a tablestatlist
Metadata describing the data, functions and arguments needed to produce your results.table_metadata
Helper functions for returning files used in gentlgtidytlg_metadata tidytlg_titles
Setup data to support the specified column typetlgsetup
Descriptive statisticsunivar