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

7,454

Version

2023.01.17

License

GPL (>= 2)

Maintainer

Thomas Alexander Gerds

Last Published

January 17th, 2023

Functions in Publish (2023.01.17)

CiTable

CiTable data
Diabetes

Diabetes data of Dr John Schorling
lazyDateCoding

Efficient coding of date variables
parseInteractionTerms

Parse interaction terms
org

Wrapper function for publish with output format org
lazyFactorCoding

Efficient coding of factor levels
glmSeries

Run a series of generalized linear regression analyses
ci.mean

Compute mean values with confidence intervals
labelUnits

labelUnits
print.table2x2

print results of 2x2 contingency table analysis
print.univariateTable

Printing univariate tables
followupTable

Summary tables for a given followup time point.
formatCI

Formatting confidence intervals
plotConfidence

Plot confidence intervals
plot.subgroupAnalysis

plot.subgroupAnalysis
publish.htest

Pretty printing of test results.
ci.mean.default

Compute mean values with confidence intervals
publish.Score

Publish predictive accuracy results
publish.ci

Publish tables with confidence intervals
pubformat

Format numbers for publication
publish.CauseSpecificCox

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

Plot confidence intervals
publish

Publishing tables and figures
publish.MIresult

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

Publishing results of riskRegression
splinePlot.lrm

Plot predictions of logistic regression
publish.matrix

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

Alternative summary of survdiff results
regressionTable

Regression table
spaghettiogram

Spaghettiogram
plot.regressionTable

Plotting regression coefficients with confidence limits
publish.summary.aov

Format summary table of aov results
summary.subgroupAnalysis

summary.subgroupAnalysis
subgroupAnalysis

Subgroup Analysis - Interactions and estimates
summary.regressionTable

Formatting regression tables
stripes

Background and grid color control.
summary.ci

Summarize confidence intervals
traceR

traceR data
univariateTable

Univariate table
print.ci

Print confidence intervals
print.subgroupAnalysis

Printing univariate tables
specialFrame

Special frame
publish.coxph

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

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

Preparing univariate tables for publication
sutable

Fast summary of a univariate table
table2x2

2x2 table calculus for teaching
trace

trace data
Units

Add units to data set
fixRegressionTable

Expand regression coefficient table
acut

Automatic selection and formatting of breaks in cut
Publish-package

Publish package
coxphSeries

Run a series of Cox regression models
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.