Learn R Programming

⚠️There's a newer version (2025.07.24) of this package.Take me there.

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

11,568

Version

2018.04.17

License

GPL (>= 2)

Maintainer

Thomas Alexander Gerds

Last Published

April 17th, 2018

Functions in Publish (2018.04.17)

Publish-package

Publish package
ci.mean

Compute mean values with confidence intervals
formatCI

Formatting confidence intervals
plotConfidence

Plot confidence intervals
CiTable

CiTable data
print.ci

Print confidence intervals
ci.mean.default

Compute mean values with confidence intervals
lazyFactorCoding

Efficient coding of factor levels
org

Wrapper function for publish with output format org
glmSeries

Run a series of generalized linear regression analyses
coxphSeries

Run a series of Cox regression models
Diabetes

Diabetes data of Dr John Schorling
publish.Score

Publish predictive accuracy results
print.table2x2

print results of 2x2 contingency table analysis
plot.regressionTable

Plotting regression coefficients with confidence limits
plot.ci

Plot confidence intervals
publish.MIresult

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

Publishing tables and figures
publish.ci

Publish tables with confidence intervals
print.univariateTable

Printing univariate tables
parseInteractionTerms

Parse interaction terms
publish.survdiff

Alternative summary of survdiff results
publish.matrix

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

Tabulize hazard ratios with confidence intervals and p-values.
pubformat

Format numbers for publication
publish.CauseSpecificCox

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

Special frame
regressionTable

Regression table
trace

trace data
table2x2

2x2 table calculus for teaching
splinePlot.lrm

Plot predictions of logistic regression
publish.htest

Pretty printing of test results.
spaghettiogram

Spaghettiogram
summary.univariateTable

Preparing univariate tables for publication
stripes

Background and grid color control.
publish.glm

Tabulize regression coefficients with confidence intervals and p-values.
summary.regressionTable

Formatting regression tables
summary.ci

Summarize confidence intervals
sutable

Fast summary of a univariate table
univariateTable

Univariate table
publish.riskRegression

Publishing results of riskRegression
publish.summary.aov

Format summary table of aov results
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.
labelUnits

labelUnits
fixRegressionTable

Expand regression coefficient table
Units

Add units to data set
followupTable

Summary tables for a given followup time point.