{
  "_id": "6a33b91b3efcd9bda43af39d",
  "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-06-18 09:20:27 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": "d80b61883ddce91c64b37c8a2d1f7640",
  "_user": "mclements",
  "_type": "src",
  "_file": "biostat3_0.2.3.tar.gz",
  "_fileid": "61555048fb7b08d008f2ef94f4d8f1a42a633f002bc18f9e90044f1e10d1cae6",
  "_filesize": 4548543,
  "_sha256": "61555048fb7b08d008f2ef94f4d8f1a42a633f002bc18f9e90044f1e10d1cae6",
  "_created": "2026-06-18T09:20:27.000Z",
  "_published": "2026-06-18T09:23:39.294Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82096607465,
      "time": 150,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7719290224"
    },
    {
      "job": 82096607441,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7719289804"
    },
    {
      "job": 82096607456,
      "time": 104,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7719271862"
    },
    {
      "job": 82096607447,
      "time": 112,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7719274937"
    },
    {
      "job": 82096132166,
      "time": 157,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7719231758"
    },
    {
      "job": 82096607491,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7719277089"
    },
    {
      "job": 82096607498,
      "time": 109,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7719274113"
    },
    {
      "job": 82096607523,
      "time": 91,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7719267116"
    },
    {
      "job": 82096607445,
      "time": 106,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7719273510"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mclements/actions/runs/27749490424",
  "_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",
    "followers": 66
  },
  "_downloads": {
    "count": 795,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/biostat3"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/mclements/biostat3",
  "_searchresults": 160,
  "_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.049218022670182,
  "_indexed": true,
  "_nocasepkg": "biostat3",
  "_universes": [
    "mclements"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-06-18T09:22:43.000Z",
      "distro": "noble",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "77d4f3c359e955768b630bd11d9e0374cac9b610e13651db0eb6ebcfc3b6be2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/27749490424"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-06-18T09:22:50.000Z",
      "distro": "noble",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "55130eddc511c19d132a43790808a6926808df8bc56a27241effa06a05e81ecb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/27749490424"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-06-18T09:22:12.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "28a67fc033d51982b2194252f05a17865999d9ec2d4aa3afb5cc4dba3479f18a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/27749490424"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-06-18T09:22:16.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "56a0b10fe8ba60f9d6797d338c0b73a4a3fc335f6bcdd8416f95e05929d119c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/27749490424"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.3",
      "date": "2026-06-18T09:22:44.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "d073ea31ceb4a84ef7e520757ea307157053d49737b45bcd4947f549edaeaaa9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/27749490424"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-06-18T09:22:01.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "8c38c586b51d7bd805150a679164006b5c5a57d07ad19b4e5d8929caa84cf898",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/27749490424"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-06-18T09:21:47.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "bb9edb34f96219c17845737f99573832eb37299cb2594a3136949f421a85fe59",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/27749490424"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-06-18T09:22:00.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "8f52204236e0180ef16aea8d712ef89a14a4a253e3671d740b06474791fcbb1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/27749490424"
    }
  ]
}