{
  "_id": "6a1ef286b401979e7341456d",
  "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-05-19 07:45:32 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>",
  "MD5sum": "9d1681c7544316a2ce8830589aab11a1",
  "_user": "mclements",
  "_type": "src",
  "_file": "biostat3_0.2.3.tar.gz",
  "_fileid": "68b322c1f25f9e44b30ce588a124e231c493e74b698d0cd0c46aafe89bb65944",
  "_filesize": 4547090,
  "_sha256": "68b322c1f25f9e44b30ce588a124e231c493e74b698d0cd0c46aafe89bb65944",
  "_created": "2026-05-19T07:45:32.000Z",
  "_published": "2026-06-02T15:11:02.371Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79104273685,
      "time": 150,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7077728999"
    },
    {
      "job": 79104273312,
      "time": 141,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7077726369"
    },
    {
      "job": 79104273666,
      "time": 102,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7077714224"
    },
    {
      "job": 79104273192,
      "time": 110,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7077716480"
    },
    {
      "job": 79104272772,
      "time": 180,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7077681003"
    },
    {
      "job": 79104272366,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7361772951"
    },
    {
      "job": 79104273350,
      "time": 101,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7077714001"
    },
    {
      "job": 79104273785,
      "time": 125,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7077721047"
    },
    {
      "job": 79104273023,
      "time": 98,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7077713038"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mclements/actions/runs/26083473523",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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": [
    {
      "week": "2025-30",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 7,
  "_contributors": [
    {
      "user": "mclements",
      "count": 44,
      "uuid": 557321
    }
  ],
  "_userbio": {
    "uuid": 557321,
    "type": "user",
    "name": "mclements"
  },
  "_downloads": {
    "count": 506,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/biostat3"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/mclements/biostat3",
  "_searchresults": 151,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/biostat3.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "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.024074987307427,
  "_indexed": true,
  "_nocasepkg": "biostat3",
  "_universes": [
    "mclements"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-05-19T07:47:49.000Z",
      "distro": "noble",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "164513e30acf073c0470133242a1d7287ae851e6fbfbd482337af915a76695d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/26083473523"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-05-19T07:47:45.000Z",
      "distro": "noble",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "0e02ef0ecd65938b74fc46e9281215ee866c0b508e732f4c416ae276b02b792d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/26083473523"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-05-19T07:47:14.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "e9eae7c317da0428c782b3004989a21e1afe0ca1d61aafcda3e49b49163cd6fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/26083473523"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-05-19T07:47:18.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "2dcf8e78ec963daeb0f1e5a28e7617abfcf610f97df79c44a3c6ccd59dd729eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/26083473523"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-05-19T07:47:00.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "5e1f7da53612357dd7bc68b70d02f8055785e7a4d7876fea0f182c38ac73d378",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/26083473523"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-05-19T07:47:10.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "c3acc7de45dde54bfe0d2c43c02e3200119dfddaf7a410e8df28cb141b43d521",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/26083473523"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-05-19T07:46:57.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "2b649e6633e9d2be0e30309a8126efe6947439411e2550340f6d12cdf5a1800d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/26083473523"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.3",
      "date": "2026-06-02T15:10:38.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "71f413afd02b2a98eee279283390918b152fb598c4312f997d07b9f0a22c0d89",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/26083473523"
    }
  ]
}