{
  "_id": "6aafb2d23d719c1f84080e26",
  "Package": "simsurv",
  "Type": "Package",
  "Title": "Simulate Survival Data",
  "Version": "1.0.1.9000",
  "Date": "2026-01-22",
  "Authors@R": "c(person(\"Sam\", \"Brilleman\", email = \"sam.brilleman@gmail.com\",\nrole = c(\"cre\", \"aut\", \"cph\")),\nperson(\"Alessandro\", \"Gasparini\", email = \"ag475@leicester.ac.uk\",\nrole = \"ctb\"))",
  "Author": "Sam Brilleman [cre, aut, cph], Alessandro Gasparini [ctb]",
  "Maintainer": "Sam Brilleman <sam.brilleman@gmail.com>",
  "Description": "Simulate survival times from standard parametric survival\ndistributions (exponential, Weibull, Gompertz), 2-component\nmixture distributions, or a user-defined hazard, log hazard,\ncumulative hazard, or log cumulative hazard function. Baseline\ncovariates can be included under a proportional hazards\nassumption. Time dependent effects (i.e. non-proportional\nhazards) can be included by interacting covariates with linear\ntime or a user-defined function of time. Clustered event times\nare also accommodated. The 2-component mixture distributions\ncan allow for a variety of flexible baseline hazard functions\nreflecting those seen in practice. If the user wishes to\nprovide a user-defined hazard or log hazard function then this\nis possible, and the resulting cumulative hazard function does\nnot need to have a closed-form solution. For details see the\nsupporting paper <doi:10.18637/jss.v097.i03>. Note that this\npackage is modelled on the 'survsim' package available in the\n'Stata' software (see Crowther and Lambert (2012)\n<https://www.stata-journal.com/sjpdf.html?articlenum=st0275> or\nCrowther and Lambert (2013) <doi:10.1002/sim.5823>).",
  "License": "GPL (>=3) | file LICENSE",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "BugReports": "https://github.com/sambrilleman/simsurv/issues",
  "RoxygenNote": "7.1.1",
  "Repository": "https://sambrilleman.r-universe.dev",
  "Date/Publication": "2026-01-22 00:10:17 UTC",
  "RemoteUrl": "https://github.com/sambrilleman/simsurv",
  "RemoteRef": "HEAD",
  "RemoteSha": "60e414468d2f959eb8b3f0b76f4489e5c0c5566c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-20 10:13:53 UTC",
    "User": "root"
  },
  "_user": "sambrilleman",
  "_type": "src",
  "_file": "simsurv_1.0.1.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/a2b20bfdec199889af4511888fa486cc816f00bb4542694363b6d21e7d9b8f45",
  "_filesize": 408900,
  "_sha256": "a2b20bfdec199889af4511888fa486cc816f00bb4542694363b6d21e7d9b8f45",
  "_expires": "2026-12-29T10:17:52.000Z",
  "_created": "2026-09-20T10:13:53.000Z",
  "_published": "2026-09-20T10:17:54.549Z",
  "_jobs": [
    {
      "job": 106061873179,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10603512425"
    },
    {
      "job": 106061873230,
      "time": 138,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10603138027"
    },
    {
      "job": 106061873145,
      "time": 197,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10603407490"
    },
    {
      "job": 106061873181,
      "time": 175,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10602943960"
    },
    {
      "job": 106061297509,
      "time": 280,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10602789250"
    },
    {
      "job": 106061873122,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10603477571"
    },
    {
      "job": 106061873237,
      "time": 82,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10602454709"
    },
    {
      "job": 106061873247,
      "time": 79,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10602559725"
    },
    {
      "job": 106061873161,
      "time": 71,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10602604416"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/sambrilleman/actions/runs/35504255365",
  "_status": "success",
  "_upstream": "https://github.com/sambrilleman/simsurv",
  "_commit": {
    "id": "60e414468d2f959eb8b3f0b76f4489e5c0c5566c",
    "author": "Sam Brilleman <sam.brilleman@gmail.com>",
    "committer": "Sam Brilleman <sam.brilleman@gmail.com>",
    "message": "Bump to devel version\n",
    "time": 1769040617
  },
  "_maintainer": {
    "name": "Sam Brilleman",
    "email": "sam.brilleman@gmail.com",
    "login": "sambrilleman",
    "description": "Principal Data Scientist @ SEEK",
    "uuid": 19546444
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.3.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "BB",
      "version": ">= 2014.10.1",
      "role": "Suggests"
    },
    {
      "package": "eha",
      "version": ">= 2.4.5",
      "role": "Suggests"
    },
    {
      "package": "flexsurv",
      "version": ">= 1.1.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "version": ">= 1.15.1",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rstpm2",
      "version": ">= 1.4.1",
      "role": "Suggests"
    },
    {
      "package": "survival",
      "version": ">= 2.40.1",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 1.0.2",
      "role": "Suggests"
    }
  ],
  "_owner": "sambrilleman",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2026-04",
      "n": 4
    }
  ],
  "_tags": [],
  "_stars": 24,
  "_contributors": [
    {
      "user": "sambrilleman",
      "count": 121,
      "uuid": 19546444
    }
  ],
  "_userbio": {
    "uuid": 19546444,
    "type": "user",
    "name": "Sam Brilleman",
    "followers": 37,
    "description": "Principal Data Scientist @ SEEK"
  },
  "_downloads": {
    "count": 879,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/simsurv"
  },
  "_devurl": "https://github.com/sambrilleman/simsurv",
  "_searchresults": 318,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/simsurv.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/sambrilleman/simsurv",
  "_realowner": "sambrilleman",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2017-07-27"
    },
    {
      "version": "0.2.0",
      "date": "2018-03-06"
    },
    {
      "version": "0.2.2",
      "date": "2018-05-18"
    },
    {
      "version": "0.2.3",
      "date": "2019-02-01"
    },
    {
      "version": "1.0.0",
      "date": "2021-01-13"
    },
    {
      "version": "1.0.1",
      "date": "2026-01-22"
    }
  ],
  "_exports": [
    "simsurv"
  ],
  "_datasets": [
    {
      "name": "brcancer",
      "title": "German breast cancer dataset",
      "object": "brcancer",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "hormon",
        "rectime",
        "censrec"
      ],
      "rows": 686,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "brcancer",
      "title": "German breast cancer dataset",
      "topics": [
        "brcancer"
      ]
    },
    {
      "page": "simsurv",
      "title": "Simulate survival data",
      "topics": [
        "simsurv"
      ]
    }
  ],
  "_readme": "https://github.com/sambrilleman/simsurv/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "simsurv_usage.Rmd",
      "filename": "simsurv_usage.html",
      "title": "How to use the simsurv package",
      "author": "Sam Brilleman",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Preamble",
        "Usage examples",
        "Example 1: Simulating under a standard parametric survival model",
        "Example 2: Simulating under a flexible parametric survival model",
        "Example 3: Simulating under a Weibull model with time-dependent effects",
        "Example 4: Simulating under a joint model for longitudinal and survival data",
        "References"
      ],
      "created": "2018-02-26 08:01:41",
      "modified": "2019-02-01 05:14:17",
      "commits": 2
    },
    {
      "source": "simsurv_technical.Rmd",
      "filename": "simsurv_technical.html",
      "title": "Technical background to the simsurv package",
      "author": "Sam Brilleman",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Preamble",
        "Introduction",
        "Cumulative hazard inversion method (Bender et al. (2005))",
        "Exponential distribution",
        "Weibull distribution",
        "Gompertz distribution",
        "Numerical root finding",
        "Exponential mixture distribution",
        "Weibull mixture distribution",
        "Gompertz mixture distribution",
        "Extending to time-dependent effects or user-defined hazard functions",
        "References"
      ],
      "created": "2018-02-26 08:01:41",
      "modified": "2019-02-06 03:21:09",
      "commits": 3
    }
  ],
  "_score": 7.660789612079682,
  "_indexed": true,
  "_nocasepkg": "simsurv",
  "_universes": [
    "sambrilleman"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-09-20T10:16:08.000Z",
      "distro": "resolute",
      "commit": "60e414468d2f959eb8b3f0b76f4489e5c0c5566c",
      "fileid": "https://r2.ropensci.org/b9b3f67b73568b6b35757cd2045716daad1d84af041f5b3b13bd2de2dba4b6eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sambrilleman/actions/runs/35504255365"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-09-20T10:16:09.000Z",
      "distro": "resolute",
      "commit": "60e414468d2f959eb8b3f0b76f4489e5c0c5566c",
      "fileid": "https://r2.ropensci.org/ece354b0c2dd9ea5903cd071188cab83c2cf6a0bc7e916d21bf3ce520b76b644",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sambrilleman/actions/runs/35504255365"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-09-20T10:16:38.000Z",
      "commit": "60e414468d2f959eb8b3f0b76f4489e5c0c5566c",
      "fileid": "https://r2.ropensci.org/39153503c29d20043cc022437d036fba18baefb04b86995a4a9c094bd238d3ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sambrilleman/actions/runs/35504255365"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-09-20T10:16:13.000Z",
      "commit": "60e414468d2f959eb8b3f0b76f4489e5c0c5566c",
      "fileid": "https://r2.ropensci.org/4f9eeedc8b734bbe45506255e398a70dbc61318f9e2cf3334d8ee5829caaf345",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sambrilleman/actions/runs/35504255365"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1.9000",
      "date": "2026-09-20T10:16:08.000Z",
      "commit": "60e414468d2f959eb8b3f0b76f4489e5c0c5566c",
      "fileid": "https://r2.ropensci.org/979c870cd48901986430e24453fc9fb9cdaef28639d031a9dae8abb43f757f4a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sambrilleman/actions/runs/35504255365"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-09-20T10:15:02.000Z",
      "commit": "60e414468d2f959eb8b3f0b76f4489e5c0c5566c",
      "fileid": "https://r2.ropensci.org/60101c222d08824a48e71d3d3b10c38c2bb053ff3c60339d27e591d10361764d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sambrilleman/actions/runs/35504255365"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-09-20T10:15:03.000Z",
      "commit": "60e414468d2f959eb8b3f0b76f4489e5c0c5566c",
      "fileid": "https://r2.ropensci.org/7f6b7920f01044fc9fb09e5ed9c4542ccc3b15ce16867eee9c3ea6396a0e17e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sambrilleman/actions/runs/35504255365"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-09-20T10:14:58.000Z",
      "commit": "60e414468d2f959eb8b3f0b76f4489e5c0c5566c",
      "fileid": "https://r2.ropensci.org/5753352318dc26aec806131871c613cd390a251a77c0b877e2525823d5593cf1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sambrilleman/actions/runs/35504255365"
    }
  ]
}