Learn R Programming

Publish

R package Publish

Installation

To install the development version of Publish run the following commands from within R

library(devtools)
install_github('tagteam/Publish')

Trouble shooting

To install a package from github you need a program to unzip the download. If you don't have such a program and the install_github above command failed, then you should try

library(devtools)
options(unzip="internal")
install_github('tagteam/Publish')

Examples

Copy Link

Version

Install

install.packages('Publish')

Monthly Downloads

9,929

Version

2025.07.24

License

GPL (>= 2)

Maintainer

Thomas Alexander Gerds

Last Published

July 24th, 2025

Functions in Publish (2025.07.24)

formatCI

Formatting confidence intervals
followupTable

Summary tables for a given followup time point.
org

Wrapper function for publish with output format org
print.table2x2

print results of 2x2 contingency table analysis
print.subgroupAnalysis

Printing univariate tables
pubformat

Format numbers for publication
print.univariateTable

Printing univariate tables
publish.ci

Publish tables with confidence intervals
publish.glm

Tabulize regression coefficients with confidence intervals and p-values.
labelUnits

labelUnits
print.ci

Print confidence intervals
glmSeries

Run a series of generalized linear regression analyses
print.regressionTable

printing regression tables
parseInteractionTerms

Parse interaction terms
publish.MIresult

Present logistic regression and Cox regression obtained with mitools::MIcombine based on smcfcs::smcfcs multiple imputation analysis
publish.matrix

Publishing a matrix in raw, org, latex, or muse format
publish.riskReclassification

Publishing riskReclassification objects
publish.CauseSpecificCox

Tabulizing cause-specific hazard ratio from all causes with confidence limits and Wald test p-values.
publish.Score

Publish predictive accuracy results
publish

Publishing tables and figures
subgroupAnalysis

Subgroup Analysis - Interactions and estimates
publish.coxph

Tabulize hazard ratios with confidence intervals and p-values.
publish.htest

Pretty printing of test results.
plot.ci

Plot confidence intervals
summary.regressionTable

Formatting regression tables
plot.regressionTable

Plotting regression coefficients with confidence limits
publish.survdiff

Alternative summary of survdiff results
spaghettiogram

Spaghettiogram
specialFrame

Special frame
summary.subgroupAnalysis

summary.subgroupAnalysis
summary.ci

Summarize confidence intervals
traceR

traceR data
univariateTable

Univariate table
regressionTable

Regression table
sutable

Fast summary of a univariate table
summary.univariateTable

Preparing univariate tables for publication
plot.subgroupAnalysis

plot.subgroupAnalysis
publish.riskRegression

Publishing results of riskRegression
publish.summary.aov

Format summary table of aov results
plotConfidence

Plot confidence intervals
stripes

Background and grid color control.
splinePlot.lrm

Plot predictions of logistic regression
table2x2

2x2 table calculus for teaching
trace

trace data
Units

Add units to data set
ci.mean.default

Compute mean values with confidence intervals
SpaceT

A study was made of all 26 astronauts on the first eight space shuttle flights (Bungo et.al., 1985). On a voluntary basis 17 astronauts consumed large quantities of salt and fluid prior to landing as a countermeasure to space deconditioning, while nine did not.
coxphSeries

Run a series of Cox regression models
ci.mean

Compute mean values with confidence intervals
Diabetes

Diabetes data of Dr John Schorling
acut

Automatic selection and formatting of breaks in cut
fixRegressionTable

Expand regression coefficient table
lazyDateCoding

Efficient coding of date variables
lazyFactorCoding

Efficient coding of factor levels
Publish-package

Publish package
CiTable

CiTable data