Package: reportRmd 0.1.1

Lisa Avery

reportRmd: Tidy Presentation of Clinical Reporting

Streamlined statistical reporting in 'Rmarkdown' environments. Facilitates the automated reporting of descriptive statistics, multiple univariate models, multivariable models and tables combining these outputs. Plotting functions include customisable survival curves, forest plots from logistic and ordinal regression and bivariate comparison plots.

Authors:Lisa Avery [cre, aut], Ryan Del Bel [aut], Osvaldo Espin-Garcia [aut], Katherine Lajkosz [aut], Clarina Ong [aut], Tyler Pittman [aut], Anna Santiago [aut], Yanning Wang [ctr], Jessica Weiss [aut], Wei Xu [aut]

reportRmd_0.1.1.tar.gz
reportRmd_0.1.1.tar.gz(r-4.5-noble)reportRmd_0.1.1.tar.gz(r-4.4-noble)
reportRmd_0.1.1.tgz(r-4.4-emscripten)reportRmd_0.1.1.tgz(r-4.3-emscripten)
reportRmd.pdf |reportRmd.html
reportRmd/json (API)
NEWS

# Install 'reportRmd' in R:
install.packages('reportRmd', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:
  • ctDNA - Tumour size change over time Longitudinal changes in tumour size since baseline for patients by changes in ctDNA status (clearance, decrease or increase) since baseline.
  • pembrolizumab - Survival data Survival status and ctDNA levels for patients receiving pembrolizumab
  • uvmodels - Aligning models and parameters

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

3.18 score 1 packages 219 downloads 28 exports 102 dependencies

Last updated 24 days agofrom:74456d0333. Checks:2 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 25 2025
R-4.5-linuxOKJan 25 2025

Exports:clear_labelscrrRxexcelColexcelColLettersextract_labelsforestplot2forestplotMVforestplotUVforestplotUVMVggkmcifggkmcif_pasteggkmcif2nestTableoutTableplotuvreplace_plot_labelsrm_cifsumrm_compactsumrm_covsumrm_mvsumrm_survdiffrm_survsumrm_survtimerm_uv_mvrm_uvsumscrolling_tableset_labelsset_var_labels

Dependencies:abindaodbackportsbase64encbootbroombslibcachemcarcarDataclicmprskcolorspacecorrplotcowplotcpp11DerivdigestdoBydplyrevaluatefansifarverfastmapfontawesomeFormulafsgeepackgenericsggplot2ggpubrggrepelggsciggsignifgluegridExtragtablehighrhtmltoolsisobandjquerylibjsonlitekableExtraknitrlabelinglatticelifecyclelme4magrittrMASSMatrixMatrixModelsmemoisemgcvmicrobenchmarkmimeminqamodelrmunsellnlmenloptrnnetnumDerivpanderpbkrtestpillarpkgconfigplyrpolynompurrrquantregR6rappdirsrbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangrmarkdownrstatixrstudioapisassscalesSparseMstringistringrsurvivalsvglitesystemfontstibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunxml2yaml

reportRmd Package

Rendered fromreportRmd.Rmdusingknitr::rmarkdownon Jan 25 2025.

Last update: 2025-01-24
Started: 2022-10-17

Readme and manuals

Help Manual

Help pageTopics
Add spaces to strings in LaTeXaddspace
fit box cox transformed linear modelboxcoxfitRx
Capitalize a stringcap
Clear variable labels from a data frameclear_labels
Get covariate summary dataframecovsum
fit crr modelcrrRx
Tumour size change over time Longitudinal changes in tumour size since baseline for patients by changes in ctDNA status (clearance, decrease or increase) since baseline.ctDNA
Retrieve columns number from spreadsheet columns specified as unquoted lettersexcelCol
Retrieve spreadsheet column letter-names from columns indicesexcelColLetters
Extract variable labels from labelled data frameextract_labels
Create a forest plot using ggplot2forestplot2
Create a multivariable forest plot using ggplot2forestplotMV
Create an univariable forest plot using ggplot2forestplotUV
Combine an univariable and multivariable forest plot using ggplot2forestplotUVMV
Specific p-value formattingformatp
Parameter Estimation for the Box-Cox TransformationgeoR_boxcoxfit
Plot KM and CIF curves with ggplotggkmcif
Plot KM and CIF curves with ggplotggkmcif_paste
Plot KM and CIF curves with ggplotggkmcif2
Bold strings in HTMLhbld
Bold strings in LaTeXlbld
Formats p-values for LaTeXlpvalue
Get multivariate summary dataframemvsum
Combine two table columns into a single column with levels of one nested within levels of the other.nestTable
Lean strings for printingnicename
Round retaining digitsniceNum
Print tables to PDF/Latex HTML or WordoutTable
Survival data Survival status and ctDNA levels for patients receiving pembrolizumabpembrolizumab
Plot multiple bivariate relationships in a single plotplotuv
Round and paste with parenthesespsthr
Paste with parenthesespstprn
Formats p-valuespvalue
Replace variable names with labels in ggplotreplace_plot_labels
Summarize cumulative incidence by grouprm_cifsum
Output a compact summary tablerm_compactsum
Outputs a descriptive covariate tablerm_covsum
Format a regression model nicely for 'Rmarkdown'rm_mvsum
Display event counts, expected event counts and logrank test of differencesrm_survdiff
Summarise survival data by grouprm_survsum
Display survival rates and events for specified timesrm_survtime
Combine univariate and multivariable regression tablesrm_uv_mv
Output several univariate models nicely in a single tablerm_uvsum
Replace dollar signs with html for proper HTML outputrmds
Sanitizes strings to not break LaTeXsanitizestr
Output a scrollable tablescrolling_table
Set variable labelsset_labels
Set variable labelsset_var_labels
Aligning models and parametersuvmodels
Get univariate summary dataframeuvsum