{
  "_id": "6a203015cd65a98ecbd0ee5c",
  "Package": "gsDesign",
  "Version": "3.9.0.9006",
  "Title": "Group Sequential Design",
  "Authors@R": "c(\nperson(\"Keaven\", \"Anderson\", email = \"keaven_anderson@merck.com\", role = c(\"aut\", \"cre\")),\nperson(\"Merck & Co., Inc., Rahway, NJ, USA and its affiliates\", role = \"cph\",\ncomment = c(ROR = \"02891sr49\"))\n)",
  "Description": "Derives group sequential clinical trial designs and\ndescribes their properties. Particular focus on time-to-event,\nbinary, and continuous outcomes. Largely based on methods\ndescribed in Jennison, Christopher and Turnbull, Bruce W.,\n2000, \"Group Sequential Methods with Applications to Clinical\nTrials\" ISBN: 0-8493-0316-8.",
  "License": "GPL (>= 3)",
  "URL": "https://keaven.github.io/gsDesign/,\nhttps://github.com/keaven/gsDesign",
  "BugReports": "https://github.com/keaven/gsDesign/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libxml2-dev\nlibssl-dev libnode-dev",
  "Repository": "https://keaven.r-universe.dev",
  "Date/Publication": "2026-06-03 09:13:29 UTC",
  "RemoteUrl": "https://github.com/keaven/gsdesign",
  "RemoteRef": "HEAD",
  "RemoteSha": "cca077b74136ba912ed0bb78b3bb916384165bab",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-03 13:34:03 UTC",
    "User": "root"
  },
  "Author": "Keaven Anderson [aut, cre],\nMerck & Co., Inc., Rahway, NJ, USA and its affiliates [cph] (ROR:\n<https://ror.org/02891sr49>)",
  "Maintainer": "Keaven Anderson <keaven_anderson@merck.com>",
  "MD5sum": "a4644f6dafd342b939ec5da64e63478a",
  "_user": "keaven",
  "_type": "src",
  "_file": "gsDesign_3.9.0.9006.tar.gz",
  "_fileid": "1f8cfa3a3de44a9eeb6b9bccd6ae6d4cb1b071b699ecf58a4c85a76bfbb3173a",
  "_filesize": 1898223,
  "_sha256": "1f8cfa3a3de44a9eeb6b9bccd6ae6d4cb1b071b699ecf58a4c85a76bfbb3173a",
  "_created": "2026-06-03T13:34:03.000Z",
  "_published": "2026-06-03T13:45:57.175Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79306684591,
      "time": 290,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7386202225"
    },
    {
      "job": 79306684432,
      "time": 327,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7386216299"
    },
    {
      "job": 79306684431,
      "time": 282,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7386198590"
    },
    {
      "job": 79306684415,
      "time": 326,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7386215763"
    },
    {
      "job": 79306684368,
      "time": 190,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7386189738"
    },
    {
      "job": 79306684389,
      "time": 550,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7386325409"
    },
    {
      "job": 79306684421,
      "time": 206,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7386210085"
    },
    {
      "job": 79306684465,
      "time": 606,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7386341155"
    },
    {
      "job": 79305535954,
      "time": 324,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7386076865"
    },
    {
      "job": 79306684331,
      "time": 145,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7386138606"
    },
    {
      "job": 79306684470,
      "time": 330,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7386218099"
    },
    {
      "job": 79306684386,
      "time": 359,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7386229869"
    },
    {
      "job": 79306684641,
      "time": 349,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7386225823"
    }
  ],
  "_buildurl": "https://github.com/r-universe/keaven/actions/runs/26887961912",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/keaven/gsdesign",
  "_commit": {
    "id": "cca077b74136ba912ed0bb78b3bb916384165bab",
    "author": "Keaven <temzq@yahoo.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "271 tointeger prefer fixed calendar enrollment rate inflation over calendar extension when integerizing event targets (#272)\n\n* Fix seasonal exact binomial simulation updates\n\n* Add cross-agent workflow instructions\n\n* Document coding agent instruction support\n\n* Ignore local agent directories in R builds\n\n* Add AI skills vignette\n\n* Clarify AI design function selection\n\n* Prepare gsDesign 3.10.0 release\n\n* Use integer calendar design in multi-season vignette\n\n* Allow null VE scenarios in seasonal simulation\n\n* Align survival timing solves with SAS\n\n* Document SAS survival alpha convention\n\n* Remove duplicated AI slop files\n\n* Split part of AGENTS.md into survival design routing skill\n\n* Reorder build ignore items\n\n* Reset URL to the correct address\n\n* Reset version number to 3.9.0.9006\n\n* Run roxygen2\n\n* Clean up unnecessary commit hashes and changelog entries\n\n* Remove full stops\n\n* Remove and add full stops\n\n* Use the correct PR number\n\n* Clarify exact SAS reproduction workflow in survival vignette.\n\nCo-authored-by: Cursor <cursoragent@cursor.com>\n\n* Fix double toInteger conversion in seasonal simulation (#264)\n\n* Prefer fixed-calendar enrollment-rate inflation in toInteger (#271)\n\n* Update SeqDesignSurvival vignette wording (#271)\n\n---------\n\nCo-authored-by: Nan Xiao <me@nanx.me>\nCo-authored-by: Cursor <cursoragent@cursor.com>",
    "time": 1780478009
  },
  "_maintainer": {
    "name": "Keaven Anderson",
    "email": "keaven_anderson@merck.com",
    "login": "keaven",
    "description": "Keaven Anderson is a statistician who has supported the gsDesign R package for group sequential design since 2006. ",
    "uuid": 1045995
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.1.1",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "gt",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "r2rtf",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "xtable",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "data.table",
      "role": "Suggests"
    },
    {
      "package": "gridExtra",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "mvtnorm",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rpact",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "utils",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    }
  ],
  "_owner": "keaven",
  "_selfowned": true,
  "_usedby": 9,
  "_updates": [
    {
      "week": "2025-26",
      "n": 2
    },
    {
      "week": "2025-35",
      "n": 3
    },
    {
      "week": "2025-41",
      "n": 2
    },
    {
      "week": "2025-48",
      "n": 2
    },
    {
      "week": "2025-49",
      "n": 6
    },
    {
      "week": "2026-02",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 2
    },
    {
      "week": "2026-06",
      "n": 2
    },
    {
      "week": "2026-07",
      "n": 4
    },
    {
      "week": "2026-08",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 7
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 2
    },
    {
      "week": "2026-15",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 2
    },
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-21",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-23",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v3.6.9",
      "date": "2025-06-25"
    },
    {
      "name": "v3.7.0",
      "date": "2025-08-25"
    },
    {
      "name": "v3.8.0",
      "date": "2025-12-06"
    },
    {
      "name": "v3.9.0",
      "date": "2026-02-15"
    }
  ],
  "_topics": [
    "biostatistics",
    "boundaries",
    "clinical-trials",
    "design",
    "spending-functions"
  ],
  "_stars": 56,
  "_contributors": [
    {
      "user": "keaven",
      "count": 313,
      "uuid": 1045995
    },
    {
      "user": "nanxstats",
      "count": 258,
      "uuid": 199363
    },
    {
      "user": "jdblischak",
      "count": 17,
      "uuid": 1608317
    },
    {
      "user": "wangben718",
      "count": 14,
      "uuid": 85646030
    },
    {
      "user": "dpastoor",
      "count": 12,
      "uuid": 3196313
    },
    {
      "user": "elong0527",
      "count": 9,
      "uuid": 465246
    },
    {
      "user": "myeongjong",
      "count": 5,
      "uuid": 16983496
    },
    {
      "user": "ashirazist",
      "count": 2,
      "uuid": 42649811
    },
    {
      "user": "dmuriuki",
      "count": 2,
      "uuid": 48079004
    },
    {
      "user": "andersone1",
      "count": 1,
      "uuid": 28537780
    },
    {
      "user": "blackglade",
      "count": 1,
      "uuid": 6363077
    },
    {
      "user": "tabpeter",
      "count": 1,
      "uuid": 85952288
    },
    {
      "user": "teunbrand",
      "count": 1,
      "uuid": 49372158
    },
    {
      "user": "littlebeannie",
      "count": 1,
      "uuid": 43153957
    }
  ],
  "_userbio": {
    "uuid": 1045995,
    "type": "user",
    "name": "Keaven",
    "description": "Keaven Anderson is a statistician who has supported the gsDesign R package for group sequential design since 2006. "
  },
  "_downloads": {
    "count": 8035,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gsDesign"
  },
  "_mentions": 13,
  "_devurl": "https://github.com/keaven/gsdesign",
  "_pkgdown": "https://keaven.github.io/gsDesign/",
  "_searchresults": 564,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gsDesign.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/keaven/gsdesign",
  "_realowner": "keaven",
  "_cranurl": true,
  "_releases": [
    {
      "version": "2.0-5",
      "date": "2009-07-01"
    },
    {
      "version": "2.2-11",
      "date": "2010-03-13"
    },
    {
      "version": "2.3-02",
      "date": "2010-11-07"
    },
    {
      "version": "2.4-01",
      "date": "2011-02-20"
    },
    {
      "version": "2.6-02",
      "date": "2012-01-02"
    },
    {
      "version": "2.6-03",
      "date": "2012-01-19"
    },
    {
      "version": "2.6-04",
      "date": "2012-02-13"
    },
    {
      "version": "2.7-03",
      "date": "2012-07-09"
    },
    {
      "version": "2.7-04",
      "date": "2012-09-11"
    },
    {
      "version": "2.7-05",
      "date": "2013-02-23"
    },
    {
      "version": "2.7-06",
      "date": "2013-03-17"
    },
    {
      "version": "2.8-7",
      "date": "2013-12-02"
    },
    {
      "version": "2.8-8",
      "date": "2014-01-03"
    },
    {
      "version": "2.9-2",
      "date": "2014-08-23"
    },
    {
      "version": "2.9-3",
      "date": "2014-11-10"
    },
    {
      "version": "3.0-1",
      "date": "2016-02-01"
    },
    {
      "version": "3.1.1",
      "date": "2020-05-07"
    },
    {
      "version": "3.2.0",
      "date": "2021-03-14"
    },
    {
      "version": "3.2.1",
      "date": "2021-07-12"
    },
    {
      "version": "3.2.2",
      "date": "2022-02-03"
    },
    {
      "version": "3.3.0",
      "date": "2022-05-27"
    },
    {
      "version": "3.4.0",
      "date": "2022-10-12"
    },
    {
      "version": "3.5.0",
      "date": "2023-07-20"
    },
    {
      "version": "3.6.0",
      "date": "2023-11-12"
    },
    {
      "version": "3.6.1",
      "date": "2024-02-13"
    },
    {
      "version": "3.6.2",
      "date": "2024-04-09"
    },
    {
      "version": "3.6.3",
      "date": "2024-07-09"
    },
    {
      "version": "3.6.4",
      "date": "2024-07-26"
    },
    {
      "version": "3.6.5",
      "date": "2024-11-14"
    },
    {
      "version": "3.6.6",
      "date": "2025-02-11"
    },
    {
      "version": "3.6.7",
      "date": "2025-03-03"
    },
    {
      "version": "3.6.8",
      "date": "2025-05-21"
    },
    {
      "version": "3.6.9",
      "date": "2025-06-25"
    },
    {
      "version": "3.7.0",
      "date": "2025-08-25"
    },
    {
      "version": "3.8.0",
      "date": "2025-12-11"
    },
    {
      "version": "3.9.0",
      "date": "2026-02-16"
    }
  ],
  "_exports": [
    "as_gt",
    "as_rtf",
    "as_table",
    "binomialPowerTable",
    "binomialSPRT",
    "checkLengths",
    "checkRange",
    "checkScalar",
    "checkVector",
    "ciBinomial",
    "condPower",
    "eEvents",
    "gsBinomialExact",
    "gsBound",
    "gsBound1",
    "gsBoundCP",
    "gsBoundSummary",
    "gsBValue",
    "gsCP",
    "gsCPOS",
    "gsCPz",
    "gsDelta",
    "gsDensity",
    "gsDesign",
    "gsHR",
    "gsPI",
    "gsPOS",
    "gsPosterior",
    "gsPP",
    "gsProbability",
    "gsRR",
    "gsSurv",
    "gsSurvCalendar",
    "gsSurvPower",
    "hrn2z",
    "hrz2n",
    "isInteger",
    "nBinomial",
    "nBinomial1Sample",
    "nEvents",
    "nEventsIA",
    "nNormal",
    "normalGrid",
    "nSurv",
    "nSurvival",
    "Power.ssrCP",
    "repeatedPValueBinomialExact",
    "sequentialPValue",
    "sequentialPValueBinomialExact",
    "sfBetaDist",
    "sfCauchy",
    "sfExponential",
    "sfExtremeValue",
    "sfExtremeValue2",
    "sfGapped",
    "sfHSD",
    "sfLDOF",
    "sfLDPocock",
    "sfLinear",
    "sfLogistic",
    "sfNormal",
    "sfPoints",
    "sfPower",
    "sfStep",
    "sfTDist",
    "sfTrimmed",
    "sfTruncated",
    "sfXG1",
    "sfXG2",
    "sfXG3",
    "simBinomial",
    "simBinomialSeasonalExact",
    "spendingFunction",
    "ssrCP",
    "testBinomial",
    "tEventsIA",
    "toBinomialExact",
    "toInteger",
    "varBinomial",
    "xprint",
    "xtable",
    "z2Fisher",
    "z2NC",
    "z2Z",
    "zn2hr"
  ],
  "_help": [
    {
      "page": "as_gt",
      "title": "Convert a summary table object to a gt object",
      "topics": [
        "as_gt",
        "as_gt.gsBinomialExactTable"
      ]
    },
    {
      "page": "as_rtf",
      "title": "Save a summary table object as an RTF file",
      "topics": [
        "as_rtf",
        "as_rtf.gsBinomialExactTable",
        "as_rtf.gsBoundSummary"
      ]
    },
    {
      "page": "as_table",
      "title": "Create a summary table",
      "topics": [
        "as_table",
        "as_table.gsBinomialExact"
      ]
    },
    {
      "page": "binomialPowerTable",
      "title": "Power Table for Binomial Tests",
      "topics": [
        "binomialPowerTable"
      ]
    },
    {
      "page": "checkScalar",
      "title": "Utility functions to verify variable properties",
      "topics": [
        "checkLengths",
        "checkRange",
        "checkScalar",
        "checkVector",
        "isInteger"
      ]
    },
    {
      "page": "varBinomial",
      "title": "Testing, Confidence Intervals, Sample Size and Power for Comparing Two Binomial Rates",
      "topics": [
        "ciBinomial",
        "nBinomial",
        "simBinomial",
        "testBinomial",
        "varBinomial"
      ]
    },
    {
      "page": "ssrCP",
      "title": "Sample size re-estimation based on conditional power",
      "topics": [
        "condPower",
        "plot.ssrCP",
        "Power.ssrCP",
        "ssrCP",
        "z2Fisher",
        "z2NC",
        "z2Z"
      ]
    },
    {
      "page": "eEvents",
      "title": "Expected number of events for a time-to-event study",
      "topics": [
        "eEvents",
        "print.eEvents"
      ]
    },
    {
      "page": "gsBinomialExact",
      "title": "One-Sample Binomial Routines",
      "topics": [
        "binomialSPRT",
        "gsBinomialExact",
        "nBinomial1Sample",
        "plot.binomialSPRT",
        "plot.gsBinomialExact",
        "print.gsBinomialExact"
      ]
    },
    {
      "page": "gsBound",
      "title": "Boundary derivation - low level",
      "topics": [
        "gsBound",
        "gsBound1"
      ]
    },
    {
      "page": "gsBoundCP",
      "title": "Conditional Power at Interim Boundaries",
      "topics": [
        "gsBoundCP"
      ]
    },
    {
      "page": "gsCP",
      "title": "Conditional and Predictive Power, Overall and Conditional Probability of Success",
      "topics": [
        "gsCP",
        "gsCPOS",
        "gsPI",
        "gsPOS",
        "gsPosterior",
        "gsPP"
      ]
    },
    {
      "page": "gsDensity",
      "title": "Group sequential design interim density function",
      "topics": [
        "gsDensity"
      ]
    },
    {
      "page": "gsDesign",
      "title": "Design Derivation",
      "topics": [
        "gsDesign",
        "xtable.gsDesign"
      ]
    },
    {
      "page": "gsProbability",
      "title": "Boundary Crossing Probabilities",
      "topics": [
        "gsProbability",
        "print.gsProbability"
      ]
    },
    {
      "page": "gsSurvCalendar",
      "title": "Group sequential design with calendar-based timing of analyses",
      "topics": [
        "gsSurvCalendar"
      ]
    },
    {
      "page": "gsSurvPower",
      "title": "Compute power for a group sequential survival design",
      "topics": [
        "gsSurvPower"
      ]
    },
    {
      "page": "nNormal",
      "title": "Normal distribution sample size (2-sample)",
      "topics": [
        "nNormal"
      ]
    },
    {
      "page": "normalGrid",
      "title": "Normal Density Grid",
      "topics": [
        "normalGrid"
      ]
    },
    {
      "page": "plot.gsDesign",
      "title": "Plots for group sequential designs",
      "topics": [
        "plot.gsDesign",
        "plot.gsProbability"
      ]
    },
    {
      "page": "nSurvival",
      "title": "Time-to-event sample size calculation (Lachin-Foulkes)",
      "topics": [
        "hrn2z",
        "hrz2n",
        "nEvents",
        "nSurvival",
        "print.nSurvival",
        "zn2hr"
      ]
    },
    {
      "page": "repeatedPValueBinomialExact",
      "title": "Exact binomial repeated p-values for a group sequential design",
      "topics": [
        "repeatedPValueBinomialExact"
      ]
    },
    {
      "page": "sequentiaPValue",
      "title": "Sequential p-value computation",
      "topics": [
        "sequentialPValue"
      ]
    },
    {
      "page": "sequentialPValueBinomialExact",
      "title": "Exact binomial sequential p-value for a group sequential design",
      "topics": [
        "sequentialPValueBinomialExact"
      ]
    },
    {
      "page": "sfExponential",
      "title": "Exponential Spending Function",
      "topics": [
        "sfExponential"
      ]
    },
    {
      "page": "sfHSD",
      "title": "Hwang-Shih-DeCani Spending Function",
      "topics": [
        "sfHSD"
      ]
    },
    {
      "page": "sfLDOF",
      "title": "Lan-DeMets Spending function overview",
      "topics": [
        "sfLDOF",
        "sfLDPocock"
      ]
    },
    {
      "page": "sfLinear",
      "title": "Piecewise Linear and Step Function Spending Functions",
      "topics": [
        "sfLinear",
        "sfStep"
      ]
    },
    {
      "page": "sfDistribution",
      "title": "Two-parameter Spending Function Families",
      "topics": [
        "sfBetaDist",
        "sfCauchy",
        "sfExtremeValue",
        "sfExtremeValue2",
        "sfLogistic",
        "sfNormal"
      ]
    },
    {
      "page": "sfPoints",
      "title": "Pointwise Spending Function",
      "topics": [
        "sfPoints"
      ]
    },
    {
      "page": "sfPower",
      "title": "Kim-DeMets (power) Spending Function",
      "topics": [
        "sfPower"
      ]
    },
    {
      "page": "sfTDist",
      "title": "t-distribution Spending Function",
      "topics": [
        "sfTDist"
      ]
    },
    {
      "page": "sfSpecial",
      "title": "Truncated, trimmed and gapped spending functions",
      "topics": [
        "sfGapped",
        "sfTrimmed",
        "sfTruncated"
      ]
    },
    {
      "page": "sfXG",
      "title": "Xi and Gallo conditional error spending functions",
      "topics": [
        "sfXG",
        "sfXG1",
        "sfXG2",
        "sfXG3"
      ]
    },
    {
      "page": "simBinomialSeasonalExact",
      "title": "Simulate exact-binomial seasonal monitoring scenarios",
      "topics": [
        "simBinomialSeasonalExact"
      ]
    },
    {
      "page": "gsBoundSummary",
      "title": "Bound Summary and Z-transformations",
      "topics": [
        "gsBoundSummary",
        "gsBValue",
        "gsCPz",
        "gsDelta",
        "gsHR",
        "gsRR",
        "print.gsBoundSummary",
        "print.gsDesign",
        "summary.gsDesign",
        "xprint"
      ]
    },
    {
      "page": "spendingFunction",
      "title": "Spending Function",
      "topics": [
        "spendingFunction",
        "summary.spendfn"
      ]
    },
    {
      "page": "nSurv",
      "title": "Advanced time-to-event sample size calculation",
      "topics": [
        "gsSurv",
        "nEventsIA",
        "nSurv",
        "print.gsSurv",
        "print.nSurv",
        "tEventsIA",
        "xtable.gsSurv"
      ]
    },
    {
      "page": "toBinomialExact",
      "title": "Translate survival design bounds to exact binomial bounds",
      "topics": [
        "toBinomialExact"
      ]
    },
    {
      "page": "toInteger",
      "title": "Translate group sequential design to integer events (survival designs) or sample size (other designs)",
      "topics": [
        "toInteger"
      ]
    },
    {
      "page": "xtable",
      "title": "xtable",
      "topics": [
        "xtable"
      ]
    }
  ],
  "_pkglogo": "https://github.com/keaven/gsdesign/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/keaven/gsdesign/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bigD",
    "bitops",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "cpp11",
    "curl",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gt",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jquerylib",
    "jsonlite",
    "juicyjuice",
    "knitr",
    "labeling",
    "lifecycle",
    "litedown",
    "magrittr",
    "markdown",
    "memoise",
    "mime",
    "pillar",
    "pkgconfig",
    "purrr",
    "r2rtf",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "reactable",
    "reactR",
    "rlang",
    "rmarkdown",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "V8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xml2",
    "xtable",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "PoissonMixtureModel.Rmd",
      "filename": "PoissonMixtureModel.html",
      "title": "A cure model calendar-based design",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "The Poisson mixture model",
        "Supporting functions",
        "Scenario assumptions",
        "Examples",
        "Event accumulation",
        "Study design",
        "Design assumptions",
        "Study design and event accumulation",
        "Considerations",
        "References"
      ],
      "created": "2022-05-16 17:35:14",
      "modified": "2026-01-08 21:21:49",
      "commits": 6
    },
    {
      "source": "GentleIntroductionToGSD.Rmd",
      "filename": "GentleIntroductionToGSD.html",
      "title": "A gentle introduction to group sequential design",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Group sequential design framework",
        "Bounds for testing",
        "One-sided testing",
        "Asymmetric two-sided testing",
        "Spending function design",
        "References"
      ],
      "created": "2023-07-18 03:44:33",
      "modified": "2025-03-04 21:49:11",
      "commits": 6
    },
    {
      "source": "gsSurvBasicExamples.Rmd",
      "filename": "gsSurvBasicExamples.html",
      "title": "Basic time-to-event group sequential design using gsSurv",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Fixed design derivation",
        "Outcome and dropout distributions",
        "Enrollment and trial duration",
        "Deriving design with no interim analyses",
        "Varying enrollment duration to power trial",
        "Group sequential design",
        "Additional parameters",
        "Generating the design",
        "Textual summary",
        "Tabular summaries",
        "Summary plots",
        "Update bounds at time of analysis",
        "Evaluating interim results",
        "References"
      ],
      "created": "2020-04-23 15:55:41",
      "modified": "2026-01-08 21:21:49",
      "commits": 9
    },
    {
      "source": "binomialSPRTExample.Rmd",
      "filename": "binomialSPRTExample.html",
      "title": "Binomial SPRT",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Response rate example",
        "Summarizing design properties",
        "Safety monitoring example",
        "Summary",
        "References"
      ],
      "created": "2023-04-08 00:42:54",
      "modified": "2026-01-08 21:21:49",
      "commits": 6
    },
    {
      "source": "binomialTwoSample.Rmd",
      "filename": "binomialTwoSample.html",
      "title": "Binomial two arm trial design and analysis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview and notation",
        "Sample size",
        "Testing and confidence intervals",
        "Non-inferiority and super-superiority",
        "Simulation",
        "Power table",
        "Summary",
        "References"
      ],
      "created": "2025-06-25 05:34:17",
      "modified": "2026-01-08 21:21:49",
      "commits": 2
    },
    {
      "source": "ConditionalErrorSpending.Rmd",
      "filename": "ConditionalErrorSpending.html",
      "title": "Conditional error spending functions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Implementation in gsDesign",
        "Method 1",
        "Method 2",
        "Method 3",
        "Replicating published examples",
        "Summary",
        "References"
      ],
      "created": "2024-07-08 20:19:19",
      "modified": "2026-01-08 21:21:49",
      "commits": 6
    },
    {
      "source": "ConditionalPowerPlot.Rmd",
      "filename": "ConditionalPowerPlot.html",
      "title": "Conditional power and conditional error",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Design",
        "Update design at time of interim analysis",
        "Testing and conditional power",
        "Predictive power",
        "References"
      ],
      "created": "2024-03-26 18:37:47",
      "modified": "2026-01-08 21:21:49",
      "commits": 7
    },
    {
      "source": "HarmBound.Rmd",
      "filename": "HarmBound.html",
      "title": "Futility and harm bounds for overall survival monitoring",
      "author": "Keaven Anderson",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Regulatory context: FDA guidance on OS monitoring in oncology",
        "Design framework overview",
        "Design with non-binding bounds (test.type = 8)",
        "Spending function specification",
        "Summary",
        "Detailed boundary table",
        "Interpreting the boundaries",
        "Boundary crossing probabilities",
        "Visualization",
        "Z-value boundaries",
        "Approximate treatment effect at boundaries",
        "Conditional power at boundaries",
        "Spending function plot",
        "B-values at boundaries",
        "Design with binding bounds (test.type = 7)",
        "Comparing binding and non-binding",
        "Efficacy bounds at alternate $\\alpha$ levels",
        "Practical considerations",
        "Choice of spending functions",
        "Interpreting the harm bound",
        "Harm bound capping",
        "When to use test.type = 7 vs. test.type = 8",
        "Why a separate \"binding harm / non-binding futility\" option is unnecessary",
        "Adjusting the boundaries",
        "References"
      ],
      "created": "2026-02-23 18:14:07",
      "modified": "2026-02-28 21:18:01",
      "commits": 2
    },
    {
      "source": "GraphicalMultiplicity.Rmd",
      "filename": "GraphicalMultiplicity.html",
      "title": "Graphical testing for group sequential design",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-05-16 17:35:14",
      "modified": "2022-10-11 16:45:44",
      "commits": 2
    },
    {
      "source": "gsDesignPackageOverview.Rmd",
      "filename": "gsDesignPackageOverview.html",
      "title": "gsDesign package overview",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Example",
        "References"
      ],
      "created": "2023-09-06 18:31:59",
      "modified": "2025-03-04 21:49:11",
      "commits": 4
    },
    {
      "source": "toInteger.Rmd",
      "filename": "toInteger.html",
      "title": "Integer sample size and event counts",
      "author": "Keaven Anderson",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Summary of method",
        "Binomial endpoint designs",
        "Fixed sample size",
        "1-sided design",
        "Non-binding design",
        "Time-to-event endpoint designs",
        "Seasonal design with a final zero event-rate period",
        "References"
      ],
      "created": "2023-07-18 03:44:33",
      "modified": "2026-06-03 09:13:29",
      "commits": 5
    },
    {
      "source": "MultiSeasonRareEvents.Rmd",
      "filename": "MultiSeasonRareEvents.html",
      "title": "Multi-season studies for rare events",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Assumptions and parameterization",
        "Initial group sequential setup",
        "Example repeated and sequential p-values",
        "Update exact bounds at analysis time",
        "Lightweight runnable simulation",
        "Example with lower-than-planned event rates",
        "Larger offline runs (template)",
        "Notes and extensions",
        "References"
      ],
      "created": "2026-05-09 15:25:43",
      "modified": "2026-06-03 09:13:29",
      "commits": 4
    },
    {
      "source": "hGraph.Rmd",
      "filename": "hGraph.html",
      "title": "Multiplicity graphs",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2020-04-23 15:55:41",
      "modified": "2022-10-11 16:45:44",
      "commits": 5
    },
    {
      "source": "SurvivalOverview.Rmd",
      "filename": "SurvivalOverview.html",
      "title": "Overview of survival endpoint design",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Schoenfeld approximation support",
        "Power and sample size with nEvents()",
        "Group sequential design",
        "Information based design",
        "Approximating boundary characteristics",
        "Examples",
        "Lachin and Foulkes design",
        "Model assumptions",
        "Fixed design",
        "Plotting",
        "Event accrual",
        "References"
      ],
      "created": "2020-04-23 15:55:41",
      "modified": "2026-06-03 09:13:29",
      "commits": 16
    },
    {
      "source": "gsSurvPower.Rmd",
      "filename": "gsSurvPower.html",
      "title": "Power Computation for Group Sequential Survival Designs",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Motivation",
        "Quick start",
        "How gsSurvPower uses your inputs",
        "Hazard ratio roles",
        "Analysis timing: calendar time vs. event-driven",
        "Quick decision guide",
        "Spending and method",
        "Stratified targetEvents",
        "Power under alternative assumptions",
        "Power under a different hazard ratio",
        "Power over a range of hazard ratios",
        "Multiple timing criteria",
        "Setup",
        "Baseline: design assumptions",
        "Scenario 1: slower enrollment",
        "Scenario 2: higher control failure rate",
        "Controlling spending with informationRates",
        "Comparison with gsDesign power plots",
        "Bounds stability",
        "Changing alpha",
        "Binding type example (test.type = 3)",
        "Example: event-based timing",
        "Example: slower enrollment at fixed analysis times",
        "Example: calendar-based spending",
        "Example: stratified event targets",
        "Example: biomarker subgroup to stratified design",
        "Step 1: Design for the biomarker-positive subgroup",
        "Step 2: Power for the overall (stratified) population"
      ],
      "created": "2026-03-26 15:38:20",
      "modified": "2026-03-26 15:38:20",
      "commits": 1
    },
    {
      "source": "SeqDesignSurvival.Rmd",
      "filename": "SeqDesignSurvival.html",
      "title": "Reproducing PROC SEQDESIGN survival designs in gsDesign",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Starting point: SAS PROC SEQDESIGN survival example",
        "Side-by-side comparison table",
        "Key differences: SAS SEQDESIGN vs. R gsDesign",
        "1. Event formula",
        "2. Alpha handling in gsDesign() and gsSurv()",
        "3. Accrual duration and follow-up time",
        "4. Fractional time vs. ceiling time",
        "Aligning the two approaches",
        "gsSurv() with aligned parameters",
        "Matching the SAS ceiling-time adjusted design",
        "References"
      ],
      "created": "2026-05-25 18:44:53",
      "modified": "2026-06-03 09:13:29",
      "commits": 2
    },
    {
      "source": "SelectiveBoundTesting.Rmd",
      "filename": "SelectiveBoundTesting.html",
      "title": "Selective bound testing at interim analyses",
      "author": "Keaven Anderson",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Parameters",
        "Example 1: Futility testing only at the first interim",
        "Plotting",
        "Example 2: No efficacy testing at the first interim",
        "Example 3: Survival design with selective bounds via gsSurv",
        "Example 4: Selective harm monitoring (test.type 7/8)",
        "Example 5: Combining selective efficacy and futility",
        "Validation rules",
        "Accessing stored flags",
        "Type I Error Preservation",
        "How it works",
        "Non-binding futility (test.type 4 or 6)",
        "Binding futility (test.type 3 or 5)"
      ],
      "created": "2026-03-01 23:52:51",
      "modified": "2026-03-01 23:52:51",
      "commits": 1
    },
    {
      "source": "SpendingFunctionOverview.Rmd",
      "filename": "SpendingFunctionOverview.html",
      "title": "Spending function overview",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Examples",
        "References"
      ],
      "created": "2023-09-06 18:31:59",
      "modified": "2025-03-04 21:49:11",
      "commits": 4
    },
    {
      "source": "nNormal.Rmd",
      "filename": "nNormal.html",
      "title": "Two-sample normal sample size",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "The problem considered",
        "Sample size",
        "Examples",
        "Power",
        "Verification with simulation",
        "Group sequential design",
        "References"
      ],
      "created": "2020-04-23 15:55:41",
      "modified": "2026-01-08 21:21:49",
      "commits": 9
    },
    {
      "source": "VaccineEfficacy.Rmd",
      "filename": "VaccineEfficacy.html",
      "title": "Vaccine efficacy trial design",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Parameterization",
        "Exact binomial approach",
        "The time-to-event approach",
        "Generating a design",
        "The time-to-event design",
        "Converting to an exact binomial design",
        "Combined summary table",
        "Checking design properties",
        "$\\alpha$-spending",
        "$\\beta$-spending",
        "Bound update at time of analysis for example 2",
        "Summary",
        "References"
      ],
      "created": "2022-05-16 17:35:14",
      "modified": "2026-06-03 09:13:29",
      "commits": 10
    }
  ],
  "_score": 14.228513729507561,
  "_indexed": true,
  "_nocasepkg": "gsdesign",
  "_universes": [
    "keaven"
  ],
  "_previous": "3.9.0.9005",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.9.0.9006",
      "date": "2026-06-03T13:36:45.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "cca077b74136ba912ed0bb78b3bb916384165bab",
      "fileid": "61df848fae71feb02b715c8ffcbc48beaa69e6ffab7118b02b880406af6de596",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/keaven/actions/runs/26887961912"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.9.0.9006",
      "date": "2026-06-03T13:36:52.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "cca077b74136ba912ed0bb78b3bb916384165bab",
      "fileid": "a4390d3552deec508b2e9e0127d4ec31d5ba2689d81384e05bcdead62cc28af3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/keaven/actions/runs/26887961912"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "3.9.0.9006",
      "date": "2026-06-03T13:36:36.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "cca077b74136ba912ed0bb78b3bb916384165bab",
      "fileid": "d15b4058edca8bdd639ebad19aead3ea597f065c8985c49145b562c2927a13ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/keaven/actions/runs/26887961912"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "3.9.0.9006",
      "date": "2026-06-03T13:36:59.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "cca077b74136ba912ed0bb78b3bb916384165bab",
      "fileid": "daa0218708793bab8c060765f5b389386656b16b0d3e4566a97e99875f8e4b02",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/keaven/actions/runs/26887961912"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.9.0.9006",
      "date": "2026-06-03T13:37:12.000Z",
      "arch": "aarch64",
      "commit": "cca077b74136ba912ed0bb78b3bb916384165bab",
      "fileid": "b5385ba271567e1f69778690cbe36bfcb94b8b9db78bbbd85416f7d2a4c03077",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/keaven/actions/runs/26887961912"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.9.0.9006",
      "date": "2026-06-03T13:39:06.000Z",
      "arch": "x86_64",
      "commit": "cca077b74136ba912ed0bb78b3bb916384165bab",
      "fileid": "d7635e238062019c905fda7b9a145b61e5a63ff2d38ea8d740eaf318252a8fc3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/keaven/actions/runs/26887961912"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "3.9.0.9006",
      "date": "2026-06-03T13:37:35.000Z",
      "arch": "aarch64",
      "commit": "cca077b74136ba912ed0bb78b3bb916384165bab",
      "fileid": "2ecbede1b19fa32a868e2925c25acd1decf0c5521d0b6ee7b87016ee374e7c15",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/keaven/actions/runs/26887961912"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "3.9.0.9006",
      "date": "2026-06-03T13:39:42.000Z",
      "arch": "x86_64",
      "commit": "cca077b74136ba912ed0bb78b3bb916384165bab",
      "fileid": "9584502e8bec7fc37deb873cc2c44d82a5045525b41cbd5a6b6d0c8cc329fe97",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/keaven/actions/runs/26887961912"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "3.9.0.9006",
      "date": "2026-06-03T13:36:53.000Z",
      "arch": "emscripten",
      "commit": "cca077b74136ba912ed0bb78b3bb916384165bab",
      "fileid": "bae8ada0c5eb319389a75ba0b38a31febc4f8b94022674cd237848fef2edd5c1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/keaven/actions/runs/26887961912"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "3.9.0.9006",
      "date": "2026-06-03T13:35:30.000Z",
      "arch": "x86_64",
      "commit": "cca077b74136ba912ed0bb78b3bb916384165bab",
      "fileid": "396cc54c4a4fb8be2863974b11cea11b5e0a4d0d317c58bb37c8c694222d3b6e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/keaven/actions/runs/26887961912"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "3.9.0.9006",
      "date": "2026-06-03T13:35:51.000Z",
      "arch": "x86_64",
      "commit": "cca077b74136ba912ed0bb78b3bb916384165bab",
      "fileid": "087141415a64640b18e0dbaf8817a364f6dc408eb9fc69a3f45f0a14bd0233f5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/keaven/actions/runs/26887961912"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "3.9.0.9006",
      "date": "2026-06-03T13:35:26.000Z",
      "arch": "x86_64",
      "commit": "cca077b74136ba912ed0bb78b3bb916384165bab",
      "fileid": "1de22623608051a7e4fabfba303937403d031b01232e6893c262610d366befc9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/keaven/actions/runs/26887961912"
    }
  ]
}