{
  "_id": "6afb4a2d69eab6fdff2d5ce2",
  "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-11-16 17:17:24 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/8093a3792007b676b38c1c376f9716ca95850d82b639729ecac3928e6c7324a5",
  "_filesize": 4547857,
  "_sha256": "8093a3792007b676b38c1c376f9716ca95850d82b639729ecac3928e6c7324a5",
  "_expires": "2027-02-24T18:23:39.000Z",
  "_created": "2026-11-16T17:17:24.000Z",
  "_published": "2026-11-16T18:23:41.297Z",
  "_upstream": "https://github.com/mclements/biostat3",
  "_status": "success",
  "_maintainer": {
    "name": "Mark Clements",
    "email": "mark.clements@ki.se",
    "login": "mclements",
    "description": "",
    "uuid": 557321
  },
  "_jobs": [
    {
      "job": 133473278635,
      "time": 137,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14250602441"
    },
    {
      "job": 133473278598,
      "time": 135,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14252485368"
    },
    {
      "job": 133473278618,
      "time": 113,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14256213089"
    },
    {
      "job": 133473278588,
      "time": 128,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14254990645"
    },
    {
      "job": 133469361235,
      "time": 201,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14250915922"
    },
    {
      "job": 133473278711,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14252645835"
    },
    {
      "job": 133473278647,
      "time": 103,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14252515098"
    },
    {
      "job": 133473278649,
      "time": 90,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14252236500"
    },
    {
      "job": 133473278577,
      "time": 94,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14251306156"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mclements/actions/runs/43915333639",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 1076,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/biostat3"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/mclements/biostat3",
  "_abi": {
    "exports": [
      {
        "key": "biostat3::generic:eform",
        "hash": "83977d103ec3880e"
      }
    ],
    "imports": []
  },
  "_rbuild": "4.6.2",
  "_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": 2.8769103113446275,
  "_indexed": true,
  "_nocasepkg": "biostat3",
  "_universes": [
    "mclements"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-11-16T17:25:46.000Z",
      "distro": "resolute",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "https://r2.ropensci.org/e0e10e9ff21b5a51fa231cc799a0e071063a44a0b64a94654426e703d1064cdc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/43915333639"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-11-16T17:20:52.000Z",
      "distro": "resolute",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "https://r2.ropensci.org/c173e4a66766fcc1d73fdec9aafe0ba8e9159a9bea8d7f67a4d05bfeb77eed40",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/43915333639"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-11-16T18:20:54.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "https://r2.ropensci.org/d777f896f19e8577ae604bc7e7457bb991d53414232e9c224cfe3fafdb94a325",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/43915333639"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-11-16T17:47:30.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "https://r2.ropensci.org/59f37e8b593d21edbba9f822e0f92df00bb14d153bed6d9c3344d45e84620ea4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/43915333639"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.3",
      "date": "2026-11-16T17:25:44.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "https://r2.ropensci.org/b01d7ce35984d32bd00de3d0a75b664125381dfd8ba77dd1e6ef3128d9eb6368",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/43915333639"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-11-16T17:19:50.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "https://r2.ropensci.org/566ae7bbda279e4ab538681c854fa19c9a263229cd8f513bd02323e7b7c62394",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/43915333639"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-11-16T17:24:55.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "https://r2.ropensci.org/5f573392ebd25af5a5fcf58746daf3af6915e1ebc0f9a844d4da74102b9ac486",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/43915333639"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-11-16T17:21:13.000Z",
      "commit": "90cd7d87d701352dfcda1a156789cc64aa676500",
      "fileid": "https://r2.ropensci.org/21bf86c16418dcdc88a25f5351a9b5fdcdbf61257268b32bbb5bd9ad05389469",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mclements/actions/runs/43915333639"
    }
  ]
}