{
  "_id": "6ad1d3b629625c14e47aea4a",
  "Package": "biostat3",
  "Type": "Package",
  "Title": "Utility Functions, Datasets and Extended Examples for Survival\nAnalysis",
  "Version": "0.2.3",
  "Authors@R": "c(person(\"Annika\",\"Tillander\", role=\"ctb\"),\nperson(\"Andreas\",\"Karlsson\", role=\"aut\"),\nperson(\"Johan\",\"Zetterqvist\", role=\"ctb\"),\nperson(\"Peter\",\"Strom\", role=\"ctb\"),\nperson(\"Benedicte\",\"Delcoigne\", role=\"ctb\"),\nperson(\"Mark\",\"Clements\", role=c(\"aut\",\"cre\"), email=\"mark.clements@ki.se\")\n)",
  "Description": "Utility functions, datasets and extended examples for\nsurvival analysis. This extends a range of other packages, some\nsimple wrappers for time-to-event analyses, datasets, and\nextensive examples in HTML with R scripts. The package also\nsupports the course Biostatistics III entitled \"Survival\nanalysis for epidemiologists in R\".",
  "License": "GPL (>=2)",
  "LazyData": "yes",
  "LazyLoad": "yes",
  "Repository": "https://mclements.r-universe.dev",
  "Date/Publication": "2025-07-23 14:58:25 UTC",
  "RemoteUrl": "https://github.com/mclements/biostat3",
  "RemoteRef": "HEAD",
  "RemoteSha": "90cd7d87d701352dfcda1a156789cc64aa676500",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-16 07:19:01 UTC",
    "User": "root"
  },
  "Author": "Annika Tillander [ctb],\nAndreas Karlsson [aut],\nJohan Zetterqvist [ctb],\nPeter Strom [ctb],\nBenedicte Delcoigne [ctb],\nMark Clements [aut, cre]",
  "Maintainer": "Mark Clements <mark.clements@ki.se>",
  "_user": "mclements",
  "_type": "src",
  "_file": "biostat3_0.2.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/fc5b48bba6368efcbc2595a3d9b673767901afd94275f1b4f2d45fca0d7219cf",
  "_filesize": 4547885,
  "_sha256": "fc5b48bba6368efcbc2595a3d9b673767901afd94275f1b4f2d45fca0d7219cf",
  "_expires": "2027-01-24T07:35:16.000Z",
  "_created": "2026-10-16T07:19:01.000Z",
  "_published": "2026-10-16T07:35:18.623Z",
  "_buildurl": "https://github.com/r-universe/mclements/actions/runs/38866096229",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116860407799,
      "time": 117,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12031282180"
    },
    {
      "job": 116860407875,
      "time": 125,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12031925288"
    },
    {
      "job": 116860407751,
      "time": 80,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12031353071"
    },
    {
      "job": 116860407820,
      "time": 120,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12031398877"
    },
    {
      "job": 116859298602,
      "time": 198,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12031830623"
    },
    {
      "job": 116860407620,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12031152371"
    },
    {
      "job": 116860407697,
      "time": 88,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12030844626"
    },
    {
      "job": 116860407832,
      "time": 94,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12031142309"
    },
    {
      "job": 116860407779,
      "time": 81,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12031363100"
    }
  ],
  "_upstream": "https://github.com/mclements/biostat3",
  "_commit": {
    "id": "90cd7d87d701352dfcda1a156789cc64aa676500",
    "author": "Mark Clements <mark.clements@ki.se>",
    "committer": "Mark Clements <mark.clements@ki.se>",
    "message": "Minor updates for CRAN\n",
    "time": 1753282705
  },
  "_maintainer": {
    "name": "Mark Clements",
    "email": "mark.clements@ki.se",
    "login": "mclements",
    "description": "",
    "uuid": 557321
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "survival",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "MASS",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "car",
      "role": "Suggests"
    },
    {
      "package": "bshazard",
      "role": "Suggests"
    },
    {
      "package": "rstpm2",
      "role": "Suggests"
    },
    {
      "package": "Epi",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "muhaz",
      "role": "Suggests"
    }
  ],
  "_owner": "mclements",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 7,
  "_contributors": [
    {
      "user": "mclements",
      "count": 44,
      "uuid": 557321
    }
  ],
  "_userbio": {
    "uuid": 557321,
    "type": "user",
    "name": "mclements",
    "followers": 69
  },
  "_downloads": {
    "count": 752,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/biostat3"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/mclements/biostat3",
  "_searchresults": 173,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/biostat3.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf"
  ],
  "_homeurl": "https://github.com/mclements/biostat3",
  "_realowner": "mclements",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.3",
      "date": "2018-11-02"
    },
    {
      "version": "0.1.4",
      "date": "2019-11-05"
    },
    {
      "version": "0.1.5",
      "date": "2020-11-05"
    },
    {
      "version": "0.1.6",
      "date": "2021-11-03"
    },
    {
      "version": "0.1.8",
      "date": "2022-11-06"
    },
    {
      "version": "0.1.9",
      "date": "2023-10-27"
    },
    {
      "version": "0.2.1",
      "date": "2024-08-19"
    },
    {
      "version": "0.2.2",
      "date": "2024-10-29"
    },
    {
      "version": "0.2.3",
      "date": "2025-07-23"
    }
  ],
  "_exports": [
    "addIndicators",
    "as.data.frame.bshazard",
    "as.data.frame.coxphHaz",
    "as.data.frame.coxphHazList",
    "as.data.frame.muhaz",
    "as.data.frame.muhazList",
    "coxphHaz",
    "eform",
    "eform.default",
    "format_perc",
    "ggplot.muhazList",
    "irr",
    "lifetab",
    "lifetab2",
    "lincom",
    "lines.coxphHazList",
    "lines.lifetab2",
    "lines.muhaz2",
    "lines.muhazList",
    "muhaz2",
    "or",
    "plot.coxphHaz",
    "plot.coxphHazList",
    "plot.lifetab2",
    "plot.muhaz2",
    "plot.muhazList",
    "plot.smoothHaz",
    "points.lifetab2",
    "poisson.ci",
    "print.coxphHaz",
    "smoothHaz",
    "summary.muhazList",
    "survPHplot",
    "survRate",
    "updateList",
    "year"
  ],
  "_datasets": [
    {
      "name": "brv",
      "title": "Bereavement dataset",
      "object": "brv",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "couple",
        "dob",
        "doe",
        "dox",
        "dosp",
        "fail",
        "group",
        "disab",
        "health",
        "sex"
      ],
      "rows": 399,
      "table": true,
      "tojson": true
    },
    {
      "name": "colon",
      "title": "Colon cancer dataset",
      "object": "colon",
      "class": [
        "data.frame"
      ],
      "fields": [
        "sex",
        "age",
        "stage",
        "mmdx",
        "yydx",
        "surv_mm",
        "surv_yy",
        "status",
        "subsite",
        "year8594",
        "agegrp",
        "dx",
        "exit",
        "id",
        "ydx",
        "yexit"
      ],
      "rows": 15564,
      "table": true,
      "tojson": true
    },
    {
      "name": "colon_sample",
      "title": "Sample from the 'colon' dataset used for teaching.",
      "object": "colon_sample",
      "class": [
        "data.frame"
      ],
      "fields": [
        "sex",
        "age",
        "stage",
        "mmdx",
        "yydx",
        "surv_mm",
        "surv_yy",
        "status",
        "subsite"
      ],
      "rows": 35,
      "table": true,
      "tojson": true
    },
    {
      "name": "diet",
      "title": "Diet data set",
      "object": "diet",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "chd",
        "y",
        "hieng",
        "energy",
        "job",
        "month",
        "height",
        "weight",
        "doe",
        "dox",
        "dob",
        "yoe",
        "yox",
        "yob"
      ],
      "rows": 337,
      "table": true,
      "tojson": true
    },
    {
      "name": "melanoma",
      "title": "Melanoma cancer dataset",
      "object": "melanoma",
      "class": [
        "data.frame"
      ],
      "fields": [
        "sex",
        "age",
        "stage",
        "mmdx",
        "yydx",
        "surv_mm",
        "surv_yy",
        "status",
        "subsite",
        "year8594",
        "dx",
        "exit",
        "agegrp",
        "id",
        "ydx",
        "yexit"
      ],
      "rows": 7775,
      "table": true,
      "tojson": true
    },
    {
      "name": "popmort",
      "title": "popmort dataset, with population-based mortality rates",
      "object": "popmort",
      "class": [
        "data.frame"
      ],
      "fields": [
        "sex",
        "_year",
        "_age",
        "prob",
        "rate"
      ],
      "rows": 10600,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "biostat3-package",
      "title": "Utility Functions, Datasets and Extended Examples for Survival Analysis",
      "topics": [
        "biostat3-package",
        "biostat3"
      ]
    },
    {
      "page": "addIndicators",
      "title": "Utility to add indicators from a data-frame based on a formula.",
      "topics": [
        "addIndicators"
      ]
    },
    {
      "page": "bshazard",
      "title": "Functions to work with bshazard objects.",
      "topics": [
        "as.data.frame.bshazard"
      ]
    },
    {
      "page": "brv",
      "title": "Bereavement dataset",
      "topics": [
        "brv"
      ]
    },
    {
      "page": "colon",
      "title": "Colon cancer dataset",
      "topics": [
        "colon"
      ]
    },
    {
      "page": "colon_sample",
      "title": "Sample from the 'colon' dataset used for teaching.",
      "topics": [
        "colon_sample"
      ]
    },
    {
      "page": "coxphHaz",
      "title": "Smoothed hazard estimates for 'coxph'",
      "topics": [
        "as.data.frame.coxphHaz",
        "as.data.frame.coxphHazList",
        "coxphHaz",
        "lines.coxphHazList",
        "plot.coxphHaz",
        "plot.coxphHazList",
        "print.coxphHaz"
      ]
    },
    {
      "page": "diet",
      "title": "Diet data set",
      "topics": [
        "diet"
      ]
    },
    {
      "page": "eform",
      "title": "Calculate the exponential form for coefficients and their confidence intervals using either profile likelihood-based or Wald-based confidence intervals.",
      "topics": [
        "eform",
        "eform.default",
        "irr",
        "or"
      ]
    },
    {
      "page": "lifetab",
      "title": "Create cohort life table",
      "topics": [
        "lifetab"
      ]
    },
    {
      "page": "lifetab2",
      "title": "Formula wrapper for 'lifetab' from the 'KMsurv' package.",
      "topics": [
        "lifetab2",
        "lines.lifetab2",
        "plot.lifetab2",
        "points.lifetab2"
      ]
    },
    {
      "page": "lincom",
      "title": "Linear combination of regression parameters.",
      "topics": [
        "lincom"
      ]
    },
    {
      "page": "melanoma",
      "title": "Melanoma cancer dataset",
      "topics": [
        "melanoma"
      ]
    },
    {
      "page": "muhaz2",
      "title": "Formula wrapper for the 'muhaz' function from the 'muhaz' package.",
      "topics": [
        "as.data.frame.muhaz",
        "as.data.frame.muhazList",
        "ggplot.muhazList",
        "lines.muhaz2",
        "lines.muhazList",
        "muhaz2",
        "plot.muhaz2",
        "plot.muhazList",
        "summary.muhazList"
      ]
    },
    {
      "page": "poisson.ci",
      "title": "Exact Poisson confidence intervals.",
      "topics": [
        "poisson.ci"
      ]
    },
    {
      "page": "popmort",
      "title": "popmort dataset, with population-based mortality rates",
      "topics": [
        "popmort"
      ]
    },
    {
      "page": "smoothHaz",
      "title": "Simple implementation for kernel density smoothing of the Nelson-Aalen estimator.",
      "topics": [
        "plot.smoothHaz",
        "smoothHaz"
      ]
    },
    {
      "page": "survPHplot",
      "title": "Plot to assess non-proportionality",
      "topics": [
        "survPHplot"
      ]
    },
    {
      "page": "survrate",
      "title": "Describe rates",
      "topics": [
        "survRate"
      ]
    },
    {
      "page": "utilities",
      "title": "Utility functions for the 'biostat3' package",
      "topics": [
        "format_perc",
        "updateList"
      ]
    },
    {
      "page": "year",
      "title": "Convert a 'Date' vector to a numeric vector",
      "topics": [
        "year"
      ]
    }
  ],
  "_rundeps": [
    "lattice",
    "MASS",
    "Matrix",
    "survival"
  ],
  "_score": 4.083144143143052,
  "_indexed": true,
  "_nocasepkg": "biostat3",
  "_universes": [
    "mclements"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-10-16T07:21:04.000Z",
      "distro": "resolute",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "https://r2.ropensci.org/42f95e1d310e2b163c07f1031da1c618bbdb86ecdf359310846787431f6eee49",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/38866096229"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-10-16T07:21:11.000Z",
      "distro": "resolute",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "https://r2.ropensci.org/b267360cd0bf55e52ea3c2c7cafd13cde08683a5dbfd544aaaf89f567980f0f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/38866096229"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-10-16T07:28:14.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "https://r2.ropensci.org/032579c2a9294dcfe6256935c4b06424fb1a5aecc0707954bbc9e87ad90637c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/38866096229"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-10-16T07:33:31.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "https://r2.ropensci.org/063a8dcf5adafd7b9ab665c81682c5d2391bda4551c0457d2d331d0f3c3af348",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/38866096229"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.3",
      "date": "2026-10-16T07:21:06.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "https://r2.ropensci.org/94dd259f349d98e73ba0b78f0ca78ed5e4a97cea040021a7624a5484fceec3a6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/38866096229"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-10-16T07:20:22.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "https://r2.ropensci.org/d5b32e05a2705beb8540d3513159e85b0be19d8686b8fd6df084919b37eac00a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/38866096229"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-10-16T07:20:29.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "https://r2.ropensci.org/e4f492e07e6c76507620737067e862808ba2cda5e8cc06f6eb076b8b4883e00a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/38866096229"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-10-16T07:20:19.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "https://r2.ropensci.org/559a6ab91c9a35231198908deb423458d97855280633f45e338fdfbc88879ee6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/38866096229"
    }
  ]
}