reportRmd0.1.1 package

Tidy Presentation of Clinical Reporting

addspace

Add spaces to strings in LaTeX

boxcoxfitRx

fit box cox transformed linear model

cap

Capitalize a string

clear_labels

Clear variable labels from a data frame

covsum

Get covariate summary dataframe

crrRx

fit crr model

excelCol

Retrieve columns number from spreadsheet columns specified as unquoted...

excelColLetters

Retrieve spreadsheet column letter-names from columns indices

extract_labels

Extract variable labels from labelled data frame

forestplot2

Create a forest plot using ggplot2

forestplotMV

Create a multivariable forest plot using ggplot2

forestplotUV

Create an univariable forest plot using ggplot2

forestplotUVMV

Combine an univariable and multivariable forest plot using ggplot2

formatp

Specific p-value formatting

geoR_boxcoxfit

Parameter Estimation for the Box-Cox Transformation

ggkmcif_paste

Plot KM and CIF curves with ggplot

ggkmcif

Plot KM and CIF curves with ggplot

ggkmcif2

Plot KM and CIF curves with ggplot

ggkmcif2Parameters

Additional parameters passed to ggkmcif2

hbld

Bold strings in HTML

lbld

Bold strings in LaTeX

lpvalue

Formats p-values for LaTeX

m_summary

Output a table for multivariate or univariate regression models

mvsum

Get multivariate summary dataframe

nestTable

Combine two table columns into a single column with levels of one nest...

nicename

Lean strings for printing

niceNum

Round retaining digits

outTable

Print tables to PDF/Latex HTML or Word

plotuv

Plot multiple bivariate relationships in a single plot

psthr

Round and paste with parentheses

pstprn

Paste with parentheses

pvalue

Formats p-values

replace_plot_labels

Replace variable names with labels in ggplot

rm_cifsum

Summarize cumulative incidence by group

rm_compactsum

Output a compact summary table

rm_covsum

Outputs a descriptive covariate table

rm_mvsum

Format a regression model nicely for 'Rmarkdown'

rm_survdiff

Display event counts, expected event counts and logrank test of differ...

rm_survsum

Summarise survival data by group

rm_survtime

Display survival rates and events for specified times

rm_uv_mv

Combine univariate and multivariable regression tables

rm_uvsum

Output several univariate models nicely in a single table

rmds

Replace dollar signs with html for proper HTML output

sanitizestr

Sanitizes strings to not break LaTeX

scrolling_table

Output a scrollable table

set_labels

Set variable labels

set_var_labels

Set variable labels

uvsum

Get univariate summary dataframe

xvar_function.default

Helper function: xvar_function.default

xvar_function

Create a summary table for an individual covariate

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.

  • Maintainer: Lisa Avery
  • License: MIT + file LICENSE
  • Last published: 2025-01-24