{
  "_id": "6a116e6bacfb0bcc41cf5656",
  "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-05-23 09:05:06 UTC",
    "User": "root"
  },
  "MD5sum": "37f18cc0326d693b42a1ae58edc6f472",
  "_user": "sambrilleman",
  "_type": "src",
  "_file": "simsurv_1.0.1.9000.tar.gz",
  "_fileid": "545bd5b2b931ade5474a955ba3014dd1dd7adffa711cf6727316c95646e4d8c1",
  "_filesize": 407763,
  "_sha256": "545bd5b2b931ade5474a955ba3014dd1dd7adffa711cf6727316c95646e4d8c1",
  "_created": "2026-05-23T09:05:06.000Z",
  "_published": "2026-05-23T09:07:55.189Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77511257959,
      "time": 136,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175844618"
    },
    {
      "job": 77511257960,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175843931"
    },
    {
      "job": 77511257963,
      "time": 124,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175842143"
    },
    {
      "job": 77511257961,
      "time": 133,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175841941"
    },
    {
      "job": 77511014351,
      "time": 282,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175832983"
    },
    {
      "job": 77511257962,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175842092"
    },
    {
      "job": 77511257965,
      "time": 82,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175840263"
    },
    {
      "job": 77511257967,
      "time": 93,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175841073"
    },
    {
      "job": 77511257970,
      "time": 92,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175841125"
    }
  ],
  "_buildurl": "https://github.com/r-universe/sambrilleman/actions/runs/26328729175",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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",
    "description": "Principal Data Scientist @ SEEK"
  },
  "_downloads": {
    "count": 816,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/simsurv"
  },
  "_devurl": "https://github.com/sambrilleman/simsurv",
  "_searchresults": 245,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/simsurv.html",
    "manual.pdf"
  ],
  "_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.547528576459782,
  "_indexed": true,
  "_nocasepkg": "simsurv",
  "_universes": [
    "sambrilleman"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-05-23T09:07:22.000Z",
      "distro": "noble",
      "commit": "60e414468d2f959eb8b3f0b76f4489e5c0c5566c",
      "fileid": "032894dd458d82624e2196c3554008193010b9995ed281f9cc706ef18d8bb935",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sambrilleman/actions/runs/26328729175"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-05-23T09:07:15.000Z",
      "distro": "noble",
      "commit": "60e414468d2f959eb8b3f0b76f4489e5c0c5566c",
      "fileid": "87acef747fef51b36a0238eb487274c6af21816ce40c65dcc6ea166b633e86fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sambrilleman/actions/runs/26328729175"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-05-23T09:06:59.000Z",
      "commit": "60e414468d2f959eb8b3f0b76f4489e5c0c5566c",
      "fileid": "726e9c821740fa0e63f848f67426f3f825db158c0259491af1e1598c1486a409",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sambrilleman/actions/runs/26328729175"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-05-23T09:06:54.000Z",
      "commit": "60e414468d2f959eb8b3f0b76f4489e5c0c5566c",
      "fileid": "b9a9a6af2168bb909e734a2e100af8b569db7335c183c40a8d52c6a40984c4b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sambrilleman/actions/runs/26328729175"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1.9000",
      "date": "2026-05-23T09:07:07.000Z",
      "commit": "60e414468d2f959eb8b3f0b76f4489e5c0c5566c",
      "fileid": "e852a5364ee7c80a0611d6dee1e24183c498ce7938920c125a2c4c9bae043440",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sambrilleman/actions/runs/26328729175"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-05-23T09:06:24.000Z",
      "commit": "60e414468d2f959eb8b3f0b76f4489e5c0c5566c",
      "fileid": "54b8f9ba2a0ab8750eeae2a0dd101e299a276921d75a9f36d3eb4959952a2e18",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sambrilleman/actions/runs/26328729175"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-05-23T09:06:35.000Z",
      "commit": "60e414468d2f959eb8b3f0b76f4489e5c0c5566c",
      "fileid": "69f8ba0d18c68831f786f492642bd0c60369a31cab56cbf7727a1aae440336c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sambrilleman/actions/runs/26328729175"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-05-23T09:06:36.000Z",
      "commit": "60e414468d2f959eb8b3f0b76f4489e5c0c5566c",
      "fileid": "85bccaf07d50c30c220d2c246cba179aea5f9c0ce36165aab3b061a6f980c50b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sambrilleman/actions/runs/26328729175"
    }
  ]
}