{
  "_id": "6a1048c7acfb0bcc41c9f4d8",
  "Package": "Publish",
  "Type": "Package",
  "Title": "Format Output of Various Routines in a Suitable Way for Reports\nand Publication",
  "Description": "A bunch of convenience functions that transform the\nresults of some basic statistical analyses into table format\nnearly ready for publication. This includes descriptive tables,\ntables of logistic regression and Cox regression results as\nwell as forest plots.",
  "Version": "2025.01.02",
  "Authors@R": "c(person(\"Thomas A.\", \"Gerds\", role = c(\"aut\", \"cre\"),\nemail = \"tag@biostat.ku.dk\"),\nperson(\"Christian\", \"Torp-Pedersen\", role = \"ctb\"),\nperson(\"Klaus\", \"K Holst\", role = \"ctb\"),\nperson(\"Brice\", \"Ozenne\", role = \"aut\",\nemail = \"broz@sund.ku.dk\"))",
  "Maintainer": "Thomas A. Gerds <tag@biostat.ku.dk>",
  "License": "GPL (>= 2)",
  "RoxygenNote": "7.3.2",
  "Repository": "https://tagteam.r-universe.dev",
  "Date/Publication": "2025-03-06 06:41:53 UTC",
  "RemoteUrl": "https://github.com/tagteam/publish",
  "RemoteRef": "HEAD",
  "RemoteSha": "8efe51e242d9b2974c2b6846739610e14e51edc0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-10 08:47:45 UTC",
    "User": "root"
  },
  "Author": "Thomas A. Gerds [aut, cre],\nChristian Torp-Pedersen [ctb],\nKlaus K Holst [ctb],\nBrice Ozenne [aut]",
  "MD5sum": "8bb054f05af395056d56f09c6e11c6eb",
  "_user": "tagteam",
  "_type": "src",
  "_file": "Publish_2025.01.02.tar.gz",
  "_fileid": "d60cfa0cff86fd388dc7765cf1ca76f9340bdb7831ddc07a07039c9ba24519c8",
  "_filesize": 465280,
  "_sha256": "d60cfa0cff86fd388dc7765cf1ca76f9340bdb7831ddc07a07039c9ba24519c8",
  "_created": "2026-05-10T08:47:45.000Z",
  "_published": "2026-05-22T12:15:03.151Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77377252460,
      "time": 162,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6902442414"
    },
    {
      "job": 77377252630,
      "time": 178,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6902444191"
    },
    {
      "job": 77377252319,
      "time": 129,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6902586053"
    },
    {
      "job": 77377252439,
      "time": 147,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6902579791"
    },
    {
      "job": 77377251766,
      "time": 213,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902424297"
    },
    {
      "job": 77377251724,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7160217507"
    },
    {
      "job": 77377252464,
      "time": 142,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6902440674"
    },
    {
      "job": 77377252414,
      "time": 119,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6902437849"
    },
    {
      "job": 77377252548,
      "time": 164,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6902442747"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tagteam/actions/runs/25624346725",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/tagteam/publish",
  "_commit": {
    "id": "8efe51e242d9b2974c2b6846739610e14e51edc0",
    "author": "Thomas Alexander Gerds <tag@biostat.ku.dk>",
    "committer": "Thomas Alexander Gerds <tag@biostat.ku.dk>",
    "message": "bug fix\n",
    "time": 1741243313
  },
  "_maintainer": {
    "name": "Thomas A. Gerds",
    "email": "tag@biostat.ku.dk",
    "login": "tagteam",
    "uuid": 2225605
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "prodlim",
      "version": ">= 1.5.4",
      "role": "Depends"
    },
    {
      "package": "survival",
      "version": ">= 2.38",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "version": ">= 1.10.4",
      "role": "Imports"
    },
    {
      "package": "lava",
      "version": ">= 1.5.1",
      "role": "Imports"
    },
    {
      "package": "multcomp",
      "version": ">= 1.4",
      "role": "Imports"
    },
    {
      "package": "riskRegression",
      "version": ">= 2020.09.07",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "smcfcs",
      "version": ">= 1.4.1",
      "role": "Suggests"
    },
    {
      "package": "rms",
      "version": ">= 6.1.0",
      "role": "Suggests"
    },
    {
      "package": "mitools",
      "version": ">= 2.4",
      "role": "Suggests"
    },
    {
      "package": "nlme",
      "version": ">= 3.1-131",
      "role": "Suggests"
    }
  ],
  "_owner": "tagteam",
  "_selfowned": true,
  "_usedby": 49,
  "_updates": [],
  "_tags": [],
  "_stars": 16,
  "_contributors": [
    {
      "user": "tagteam",
      "count": 168,
      "uuid": 2225605
    },
    {
      "user": "ctpteam",
      "count": 12,
      "uuid": 11679899
    },
    {
      "user": "amnudn",
      "count": 10,
      "uuid": 36440475
    },
    {
      "user": "bozenne",
      "count": 6,
      "uuid": 16681064
    },
    {
      "user": "ekstroem",
      "count": 1,
      "uuid": 6160801
    }
  ],
  "_userbio": {
    "uuid": 2225605,
    "type": "user",
    "name": "Thomas Alexander Gerds"
  },
  "_downloads": {
    "count": 13915,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/Publish"
  },
  "_mentions": 53,
  "_devurl": "https://github.com/tagteam/publish",
  "_searchresults": 258,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/Publish.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/tagteam/publish",
  "_realowner": "tagteam",
  "_cranurl": true,
  "_releases": [
    {
      "version": "2017.10.24",
      "date": "2017-10-23"
    },
    {
      "version": "2018.04.17",
      "date": "2018-04-17"
    },
    {
      "version": "2019.11.02",
      "date": "2019-11-04"
    },
    {
      "version": "2019.12.04",
      "date": "2019-12-05"
    },
    {
      "version": "2020.10.27",
      "date": "2020-10-26"
    },
    {
      "version": "2020.11.30",
      "date": "2020-12-01"
    },
    {
      "version": "2020.12.23",
      "date": "2021-01-05"
    },
    {
      "version": "2023.01.17",
      "date": "2023-01-17"
    },
    {
      "version": "2025.07.24",
      "date": "2025-07-24"
    }
  ],
  "_exports": [
    "acut",
    "ci.mean",
    "coxphSeries",
    "fixRegressionTable",
    "followupTable",
    "formatCI",
    "glmSeries",
    "labelUnits",
    "lazyDateCoding",
    "lazyFactorCoding",
    "org",
    "parseInteractionTerms",
    "plotConfidence",
    "pubformat",
    "publish",
    "regressionTable",
    "spaghettiogram",
    "Spaghettiogram",
    "specialFrame",
    "splinePlot.lrm",
    "stripes",
    "subgroupAnalysis",
    "summary.univariateTable",
    "summary.utable",
    "sutable",
    "table2x2",
    "Units",
    "univariateTable",
    "utable"
  ],
  "_datasets": [
    {
      "name": "CiTable",
      "title": "CiTable data",
      "object": "CiTable",
      "file": "CiTable.csv.gz",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Drug",
        "Time",
        "Drug.Time",
        "Dose",
        "Mean",
        "SD",
        "n",
        "HazardRatio",
        "lower",
        "upper",
        "p"
      ],
      "rows": 27,
      "table": true,
      "tojson": true
    },
    {
      "name": "Diabetes",
      "title": "Diabetes data of Dr John Schorling",
      "object": "Diabetes",
      "file": "Diabetes.csv.gz",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "chol",
        "stab.glu",
        "hdl",
        "ratio",
        "glyhb",
        "location",
        "age",
        "gender",
        "height",
        "weight",
        "frame",
        "bp.1s",
        "bp.1d",
        "bp.2s",
        "bp.2d",
        "waist",
        "hip",
        "time.ppn",
        "AgeGroups",
        "height.europe",
        "weight.europe",
        "BMI"
      ],
      "rows": 403,
      "table": true,
      "tojson": true
    },
    {
      "name": "SpaceT",
      "title": "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.",
      "object": "SpaceT",
      "file": "SpaceT.csv.gz",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Status",
        "HR",
        "Treatment",
        "ID"
      ],
      "rows": 52,
      "table": true,
      "tojson": true
    },
    {
      "name": "trace",
      "title": "trace data",
      "object": "trace",
      "file": "trace.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Time",
        "smoking",
        "sex",
        "age",
        "ObsTime",
        "dead"
      ],
      "rows": 1832,
      "table": true,
      "tojson": true
    },
    {
      "name": "traceR",
      "title": "traceR data",
      "object": "traceR",
      "file": "traceR.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "weight",
        "height",
        "abdominalCircumference",
        "seCreatinine",
        "wallMotionIndex",
        "observationTime",
        "age",
        "sex",
        "smoking",
        "dead",
        "treatment"
      ],
      "rows": 1749,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "Publish-package",
      "title": "Publish package",
      "topics": [
        "Publish-package",
        "Publish"
      ]
    },
    {
      "page": "acut",
      "title": "Automatic selection and formatting of breaks in 'cut'",
      "topics": [
        "acut"
      ]
    },
    {
      "page": "ci.mean",
      "title": "Compute mean values with confidence intervals",
      "topics": [
        "ci.mean"
      ]
    },
    {
      "page": "ci.mean.default",
      "title": "Compute mean values with confidence intervals",
      "topics": [
        "ci.mean.default"
      ]
    },
    {
      "page": "CiTable",
      "title": "CiTable data",
      "topics": [
        "CiTable"
      ]
    },
    {
      "page": "coxphSeries",
      "title": "Run a series of Cox regression models",
      "topics": [
        "coxphSeries"
      ]
    },
    {
      "page": "Diabetes",
      "title": "Diabetes data of Dr John Schorling",
      "topics": [
        "Diabetes"
      ]
    },
    {
      "page": "fixRegressionTable",
      "title": "Expand regression coefficient table",
      "topics": [
        "fixRegressionTable"
      ]
    },
    {
      "page": "followupTable",
      "title": "Summary tables for a given followup time point.",
      "topics": [
        "followupTable"
      ]
    },
    {
      "page": "formatCI",
      "title": "Formatting confidence intervals",
      "topics": [
        "formatCI"
      ]
    },
    {
      "page": "glmSeries",
      "title": "Run a series of generalized linear regression analyses",
      "topics": [
        "glmSeries"
      ]
    },
    {
      "page": "labelUnits",
      "title": "labelUnits",
      "topics": [
        "labelUnits"
      ]
    },
    {
      "page": "lazyDateCoding",
      "title": "Efficient coding of date variables",
      "topics": [
        "lazyDateCoding"
      ]
    },
    {
      "page": "lazyFactorCoding",
      "title": "Efficient coding of factor levels",
      "topics": [
        "lazyFactorCoding"
      ]
    },
    {
      "page": "org",
      "title": "Wrapper function for publish with output format org",
      "topics": [
        "org"
      ]
    },
    {
      "page": "parseInteractionTerms",
      "title": "Parse interaction terms",
      "topics": [
        "parseInteractionTerms"
      ]
    },
    {
      "page": "plot.ci",
      "title": "Plot confidence intervals",
      "topics": [
        "plot.ci"
      ]
    },
    {
      "page": "plot.regressionTable",
      "title": "Plotting regression coefficients with confidence limits",
      "topics": [
        "plot.regressionTable"
      ]
    },
    {
      "page": "plot.subgroupAnalysis",
      "title": "plot.subgroupAnalysis",
      "topics": [
        "plot.subgroupAnalysis"
      ]
    },
    {
      "page": "plotConfidence",
      "title": "Plot confidence intervals",
      "topics": [
        "plotConfidence"
      ]
    },
    {
      "page": "print.ci",
      "title": "Print confidence intervals",
      "topics": [
        "print.ci"
      ]
    },
    {
      "page": "print.subgroupAnalysis",
      "title": "Printing univariate tables",
      "topics": [
        "print.subgroupAnalysis"
      ]
    },
    {
      "page": "print.table2x2",
      "title": "print results of 2x2 contingency table analysis",
      "topics": [
        "print.table2x2"
      ]
    },
    {
      "page": "print.univariateTable",
      "title": "Printing univariate tables",
      "topics": [
        "print.univariateTable"
      ]
    },
    {
      "page": "pubformat",
      "title": "Format numbers for publication",
      "topics": [
        "pubformat"
      ]
    },
    {
      "page": "publish",
      "title": "Publishing tables and figures",
      "topics": [
        "publish"
      ]
    },
    {
      "page": "publish.CauseSpecificCox",
      "title": "Tabulizing cause-specific hazard ratio from all causes with confidence limits and Wald test p-values.",
      "topics": [
        "publish.CauseSpecificCox"
      ]
    },
    {
      "page": "publish.ci",
      "title": "Publish tables with confidence intervals",
      "topics": [
        "publish.ci"
      ]
    },
    {
      "page": "publish.coxph",
      "title": "Tabulize hazard ratios with confidence intervals and p-values.",
      "topics": [
        "publish.coxph"
      ]
    },
    {
      "page": "publish.glm",
      "title": "Tabulize regression coefficients with confidence intervals and p-values.",
      "topics": [
        "publish.glm"
      ]
    },
    {
      "page": "publish.htest",
      "title": "Pretty printing of test results.",
      "topics": [
        "publish.htest"
      ]
    },
    {
      "page": "publish.matrix",
      "title": "Publishing a matrix in raw, org, latex, or muse format",
      "topics": [
        "publish.matrix"
      ]
    },
    {
      "page": "publish.MIresult",
      "title": "Present logistic regression and Cox regression obtained with mitools::MIcombine based on smcfcs::smcfcs multiple imputation analysis",
      "topics": [
        "publish.MIresult"
      ]
    },
    {
      "page": "publish.riskRegression",
      "title": "Publishing results of riskRegression",
      "topics": [
        "publish.riskRegression"
      ]
    },
    {
      "page": "publish.Score",
      "title": "Publish predictive accuracy results",
      "topics": [
        "publish.Score"
      ]
    },
    {
      "page": "publish.summary.aov",
      "title": "Format summary table of aov results",
      "topics": [
        "publish.summary.aov"
      ]
    },
    {
      "page": "publish.survdiff",
      "title": "Alternative summary of survdiff results",
      "topics": [
        "publish.survdiff"
      ]
    },
    {
      "page": "regressionTable",
      "title": "Regression table",
      "topics": [
        "regressionTable"
      ]
    },
    {
      "page": "SpaceT",
      "title": "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.",
      "topics": [
        "SpaceT"
      ]
    },
    {
      "page": "spaghettiogram",
      "title": "Spaghettiogram",
      "topics": [
        "Spaghettiogram",
        "spaghettiogram"
      ]
    },
    {
      "page": "specialFrame",
      "title": "Special frame",
      "topics": [
        "specialFrame"
      ]
    },
    {
      "page": "splinePlot.lrm",
      "title": "Plot predictions of logistic regression",
      "topics": [
        "splinePlot.lrm"
      ]
    },
    {
      "page": "stripes",
      "title": "Background and grid color control.",
      "topics": [
        "stripes"
      ]
    },
    {
      "page": "subgroupAnalysis",
      "title": "Subgroup Analysis - Interactions and estimates",
      "topics": [
        "subgroupAnalysis"
      ]
    },
    {
      "page": "summary.ci",
      "title": "Summarize confidence intervals",
      "topics": [
        "summary.ci"
      ]
    },
    {
      "page": "summary.regressionTable",
      "title": "Formatting regression tables",
      "topics": [
        "print.summary.regressionTable",
        "summary.regressionTable"
      ]
    },
    {
      "page": "summary.subgroupAnalysis",
      "title": "summary.subgroupAnalysis",
      "topics": [
        "summary.subgroupAnalysis"
      ]
    },
    {
      "page": "summary.univariateTable",
      "title": "Preparing univariate tables for publication",
      "topics": [
        "summary.univariateTable",
        "summary.utable"
      ]
    },
    {
      "page": "sutable",
      "title": "Fast summary of a univariate table",
      "topics": [
        "sutable"
      ]
    },
    {
      "page": "table2x2",
      "title": "2x2 table calculus for teaching",
      "topics": [
        "table2x2"
      ]
    },
    {
      "page": "trace",
      "title": "trace data",
      "topics": [
        "trace"
      ]
    },
    {
      "page": "traceR",
      "title": "traceR data",
      "topics": [
        "traceR"
      ]
    },
    {
      "page": "Units",
      "title": "Add units to data set",
      "topics": [
        "Units"
      ]
    },
    {
      "page": "univariateTable",
      "title": "Univariate table",
      "topics": [
        "univariateTable",
        "utable"
      ]
    }
  ],
  "_readme": "https://github.com/tagteam/publish/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "codetools",
    "cpp11",
    "data.table",
    "diagram",
    "digest",
    "farver",
    "future",
    "future.apply",
    "ggplot2",
    "globals",
    "glue",
    "gtable",
    "isoband",
    "KernSmooth",
    "labeling",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "MASS",
    "Matrix",
    "multcomp",
    "mvtnorm",
    "numDeriv",
    "parallelly",
    "prodlim",
    "progressr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "sandwich",
    "scales",
    "shape",
    "SQUAREM",
    "survival",
    "TH.data",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_score": 10.227570229701374,
  "_indexed": true,
  "_nocasepkg": "publish",
  "_universes": [
    "tagteam"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2025.01.02",
      "date": "2026-05-10T08:50:01.000Z",
      "distro": "noble",
      "commit": "8efe51e242d9b2974c2b6846739610e14e51edc0",
      "fileid": "8dcd54dc9b12014e0d1cdf2a248bd816f46ac2cd680af990c8ca3d48ed254bfe",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/tagteam/actions/runs/25624346725"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2025.01.02",
      "date": "2026-05-10T08:50:16.000Z",
      "distro": "noble",
      "commit": "8efe51e242d9b2974c2b6846739610e14e51edc0",
      "fileid": "9c1d3c4baba9d22bcd9e526f73bb5c6ea7bc0caf9a74c7186abcb49531315a98",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/tagteam/actions/runs/25624346725"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2025.01.02",
      "date": "2026-05-10T09:15:18.000Z",
      "commit": "8efe51e242d9b2974c2b6846739610e14e51edc0",
      "fileid": "96e1f0f1f848f50566dadac33f8776cf9b4301130eee9a11be9a6909336c9aaf",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/tagteam/actions/runs/25624346725"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2025.01.02",
      "date": "2026-05-10T09:14:03.000Z",
      "commit": "8efe51e242d9b2974c2b6846739610e14e51edc0",
      "fileid": "a052786937b5223913c74e1182b1b46bbf8ea70fec4490b1f2baddd4857c3f6e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/tagteam/actions/runs/25624346725"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2025.01.02",
      "date": "2026-05-10T08:49:33.000Z",
      "commit": "8efe51e242d9b2974c2b6846739610e14e51edc0",
      "fileid": "15ff1763e6bcf0782dd342d0c72aa30e4a0e876880437aaeb13547fb658d1ec3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/tagteam/actions/runs/25624346725"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2025.01.02",
      "date": "2026-05-10T08:49:09.000Z",
      "commit": "8efe51e242d9b2974c2b6846739610e14e51edc0",
      "fileid": "0eb229f20863f6ae63f6db5512855d8a07c00d4aa68eab425f8778e1d66096eb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/tagteam/actions/runs/25624346725"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2025.01.02",
      "date": "2026-05-10T08:49:52.000Z",
      "commit": "8efe51e242d9b2974c2b6846739610e14e51edc0",
      "fileid": "432f01a0683c72f3f46a29f84079659474a47e2dddb2b3fce821bd3c7d974dc5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/tagteam/actions/runs/25624346725"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2025.01.02",
      "date": "2026-05-22T12:14:44.000Z",
      "commit": "8efe51e242d9b2974c2b6846739610e14e51edc0",
      "fileid": "0e988fd78f752fe58f3bbaeeb68813c349cddd5fd1cb38099662ad622b10ab7d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tagteam/actions/runs/25624346725"
    }
  ]
}