{
  "_id": "6a18c646acfb0bcc41dcc000",
  "Package": "simtrial",
  "Type": "Package",
  "Title": "Clinical Trial Simulation",
  "Version": "1.0.2",
  "Authors@R": "c(\nperson(\"Keaven\", \"Anderson\", email = \"keaven_anderson@merck.com\", role = c(\"aut\")),\nperson(\"Yujie\", \"Zhao\", email = \"yujie.zhao@merck.com\", role =  c(\"aut\",\"cre\")),\nperson(\"John\", \"Blischak\", role = c(\"aut\")),\nperson(\"Nan\", \"Xiao\", role = c(\"ctb\")),\nperson(\"Yilong\", \"Zhang\", role =  c(\"aut\")),\nperson(\"Jianxiao\", \"Yang\", role = c(\"ctb\")),\nperson(\"Lili\", \"Ling\", role = c(\"ctb\")),\nperson(\"Xintong\", \"Li\", role = c(\"ctb\")),\nperson(\"Ruixue\", \"Wang\", role = c(\"ctb\")),\nperson(\"Yi\", \"Cui\", role = c(\"ctb\")),\nperson(\"Ping\", \"Yang\", role = c(\"ctb\")),\nperson(\"Yalin\", \"Zhu\", role = c(\"ctb\")),\nperson(\"Heng\", \"Zhou\", role = c(\"ctb\")),\nperson(\"Amin\", \"Shirazi\", role = c(\"ctb\")),\nperson(\"Cole\", \"Manschot\", role = c(\"ctb\")),\nperson(\"Larry\", \"Leon\", role = c(\"ctb\")),\nperson(\"Merck & Co., Inc., Rahway, NJ, USA and its affiliates\", role = \"cph\",\ncomment = c(ROR = \"02891sr49\"))\n)",
  "Description": "Provides some basic routines for simulating a clinical\ntrial. The primary intent is to provide some tools to generate\ntrial simulations for trials with time to event outcomes.\nPiecewise exponential failure rates and piecewise constant\nenrollment rates are the underlying mechanism used to simulate\na broad range of scenarios such as those presented in Lin et\nal. (2020) <doi:10.1080/19466315.2019.1697738>. However, the\nbasic generation of data is done using pipes to allow maximum\nflexibility for users to meet different needs.",
  "License": "GPL-3",
  "URL": "https://merck.github.io/simtrial/,\nhttps://github.com/Merck/simtrial",
  "BugReports": "https://github.com/Merck/simtrial/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "Repository": "https://merck.r-universe.dev",
  "Date/Publication": "2026-05-28 20:42:49 UTC",
  "RemoteUrl": "https://github.com/merck/simtrial",
  "RemoteRef": "HEAD",
  "RemoteSha": "687749ba5c89015ba3dab54c1334e4151f989ac3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-28 22:36:31 UTC",
    "User": "root"
  },
  "Author": "Keaven Anderson [aut],\nYujie Zhao [aut, cre],\nJohn Blischak [aut],\nNan Xiao [ctb],\nYilong Zhang [aut],\nJianxiao Yang [ctb],\nLili Ling [ctb],\nXintong Li [ctb],\nRuixue Wang [ctb],\nYi Cui [ctb],\nPing Yang [ctb],\nYalin Zhu [ctb],\nHeng Zhou [ctb],\nAmin Shirazi [ctb],\nCole Manschot [ctb],\nLarry Leon [ctb],\nMerck & Co., Inc., Rahway, NJ, USA and its affiliates [cph] (ROR:\n<https://ror.org/02891sr49>)",
  "Maintainer": "Yujie Zhao <yujie.zhao@merck.com>",
  "MD5sum": "f3f886f9cec06ccbc725b7476d043ca0",
  "_user": "merck",
  "_type": "src",
  "_file": "simtrial_1.0.2.tar.gz",
  "_fileid": "caa87eba25e9f3df473c562da4c838a2b7b0051f9fa34df30e304ca18aca6186",
  "_filesize": 1691024,
  "_sha256": "caa87eba25e9f3df473c562da4c838a2b7b0051f9fa34df30e304ca18aca6186",
  "_created": "2026-05-28T22:36:31.000Z",
  "_published": "2026-05-28T22:48:38.338Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78402293053,
      "time": 278,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7279013405"
    },
    {
      "job": 78402292982,
      "time": 276,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7279012765"
    },
    {
      "job": 78402293039,
      "time": 259,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7279008386"
    },
    {
      "job": 78402293008,
      "time": 270,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7279011249"
    },
    {
      "job": 78402293016,
      "time": 158,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7278981374"
    },
    {
      "job": 78402292995,
      "time": 683,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7279121960"
    },
    {
      "job": 78402293006,
      "time": 200,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7278992962"
    },
    {
      "job": 78402293010,
      "time": 432,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7279054610"
    },
    {
      "job": 78401529755,
      "time": 334,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7278938869"
    },
    {
      "job": 78402292858,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7278973666"
    },
    {
      "job": 78402292896,
      "time": 298,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7279018973"
    },
    {
      "job": 78402292958,
      "time": 257,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7279007796"
    },
    {
      "job": 78402292925,
      "time": 272,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7279011786"
    }
  ],
  "_buildurl": "https://github.com/r-universe/merck/actions/runs/26606106400",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/merck/simtrial",
  "_commit": {
    "id": "687749ba5c89015ba3dab54c1334e4151f989ac3",
    "author": "John Blischak <jdblischak@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Fix test-coverage workflow inputs for codecov/codecov-action@v6 (#364)",
    "time": 1780000969
  },
  "_maintainer": {
    "name": "Yujie Zhao",
    "email": "yujie.zhao@merck.com",
    "login": "littlebeannie",
    "description": "Statistician",
    "uuid": 43153957
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "version": ">= 1.12.4",
      "role": "Imports"
    },
    {
      "package": "doFuture",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "gsDesign",
      "role": "Suggests"
    },
    {
      "package": "gsDesign2",
      "version": ">= 1.1.4",
      "role": "Suggests"
    },
    {
      "package": "gt",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "survMisc",
      "role": "Suggests"
    },
    {
      "package": "survRM2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    }
  ],
  "_owner": "merck",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-22",
      "n": 2
    },
    {
      "week": "2025-24",
      "n": 4
    },
    {
      "week": "2025-31",
      "n": 2
    },
    {
      "week": "2025-37",
      "n": 2
    },
    {
      "week": "2025-40",
      "n": 1
    },
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2025-46",
      "n": 1
    },
    {
      "week": "2025-47",
      "n": 3
    },
    {
      "week": "2026-06",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-21",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v1.0.0",
      "date": "2025-06-11"
    },
    {
      "name": "v1.0.1",
      "date": "2025-09-10"
    },
    {
      "name": "v1.0.2",
      "date": "2025-11-20"
    }
  ],
  "_stars": 35,
  "_contributors": [
    {
      "user": "littlebeannie",
      "count": 469,
      "uuid": 43153957
    },
    {
      "user": "nanxstats",
      "count": 213,
      "uuid": 199363
    },
    {
      "user": "lili-ling-msd",
      "count": 141,
      "uuid": 66993717
    },
    {
      "user": "jdblischak",
      "count": 138,
      "uuid": 1608317
    },
    {
      "user": "jianxiaoyang",
      "count": 60,
      "uuid": 30363303
    },
    {
      "user": "cmansch",
      "count": 27,
      "uuid": 50928670
    },
    {
      "user": "elong0527",
      "count": 16,
      "uuid": 465246
    },
    {
      "user": "yihui",
      "count": 11,
      "uuid": 163582
    },
    {
      "user": "keaven",
      "count": 6,
      "uuid": 1045995
    },
    {
      "user": "user-zwj",
      "count": 2,
      "uuid": 37557214
    },
    {
      "user": "ashirazist",
      "count": 1,
      "uuid": 42649811
    },
    {
      "user": "jasonmvictor",
      "count": 1,
      "uuid": 7306177
    },
    {
      "user": "larry-leon",
      "count": 1,
      "uuid": 46011360
    }
  ],
  "_userbio": {
    "uuid": 7306189,
    "type": "organization",
    "name": "Merck Sharp & Dohme Corp. a subsidiary of Merck & Co., Inc.",
    "description": "This channel is only intended for U.S. and Canadian visitors."
  },
  "_downloads": {
    "count": 492,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/simtrial"
  },
  "_devurl": "https://github.com/merck/simtrial",
  "_pkgdown": "https://merck.github.io/simtrial/",
  "_searchresults": 120,
  "_topics": [
    "cpp"
  ],
  "_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/simtrial.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/merck/simtrial",
  "_realowner": "merck",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.2",
      "date": "2023-12-11"
    },
    {
      "version": "0.4.1",
      "date": "2024-05-03"
    },
    {
      "version": "0.4.2",
      "date": "2024-11-18"
    },
    {
      "version": "1.0.0",
      "date": "2025-06-11"
    },
    {
      "version": "1.0.1",
      "date": "2025-09-11"
    },
    {
      "version": "1.0.2",
      "date": "2025-11-20"
    }
  ],
  "_exports": [
    "as_gt",
    "counting_process",
    "create_cut",
    "create_test",
    "cut_data_by_date",
    "cut_data_by_event",
    "early_zero",
    "fh",
    "fit_pwexp",
    "get_analysis_date",
    "get_cut_date_by_event",
    "maxcombo",
    "mb",
    "milestone",
    "multitest",
    "randomize_by_fixed_block",
    "rmst",
    "rpwexp",
    "rpwexp_enroll",
    "sim_fixed_n",
    "sim_gs_n",
    "sim_pw_surv",
    "to_sim_pw_surv",
    "wlr"
  ],
  "_datasets": [
    {
      "name": "ex1_delayed_effect",
      "title": "Time-to-event data example 1 for non-proportional hazards working group",
      "object": "ex1_delayed_effect",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "month",
        "evntd",
        "trt"
      ],
      "rows": 361,
      "table": true,
      "tojson": true
    },
    {
      "name": "ex2_delayed_effect",
      "title": "Time-to-event data example 2 for non-proportional hazards working group",
      "object": "ex2_delayed_effect",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "month",
        "evntd",
        "trt"
      ],
      "rows": 272,
      "table": true,
      "tojson": true
    },
    {
      "name": "ex3_cure_with_ph",
      "title": "Time-to-event data example 3 for non-proportional hazards working group",
      "object": "ex3_cure_with_ph",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "month",
        "evntd",
        "trt"
      ],
      "rows": 280,
      "table": true,
      "tojson": true
    },
    {
      "name": "ex4_belly",
      "title": "Time-to-event data example 4 for non-proportional hazards working group",
      "object": "ex4_belly",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "month",
        "evntd",
        "trt"
      ],
      "rows": 774,
      "table": true,
      "tojson": true
    },
    {
      "name": "ex5_widening",
      "title": "Time-to-event data example 5 for non-proportional hazards working group",
      "object": "ex5_widening",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "month",
        "evntd",
        "trt"
      ],
      "rows": 165,
      "table": true,
      "tojson": true
    },
    {
      "name": "ex6_crossing",
      "title": "Time-to-event data example 6 for non-proportional hazards working group",
      "object": "ex6_crossing",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "month",
        "evntd",
        "trt"
      ],
      "rows": 290,
      "table": true,
      "tojson": true
    },
    {
      "name": "mb_delayed_effect",
      "title": "Simulated survival dataset with delayed treatment effect",
      "object": "mb_delayed_effect",
      "class": [
        "data.frame"
      ],
      "fields": [
        "tte",
        "event",
        "stratum",
        "treatment"
      ],
      "rows": 200,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as_gt",
      "title": "Convert summary table to a gt object",
      "topics": [
        "as_gt",
        "as_gt.simtrial_gs_wlr"
      ]
    },
    {
      "page": "counting_process",
      "title": "Process survival data into counting process format",
      "topics": [
        "counting_process"
      ]
    },
    {
      "page": "create_cut",
      "title": "Create a cutting function",
      "topics": [
        "create_cut"
      ]
    },
    {
      "page": "create_test",
      "title": "Create a cutting test function",
      "topics": [
        "create_test"
      ]
    },
    {
      "page": "cut_data_by_date",
      "title": "Cut a dataset for analysis at a specified date",
      "topics": [
        "cut_data_by_date"
      ]
    },
    {
      "page": "cut_data_by_event",
      "title": "Cut a dataset for analysis at a specified event count",
      "topics": [
        "cut_data_by_event"
      ]
    },
    {
      "page": "early_zero",
      "title": "Zero early weighting function",
      "topics": [
        "early_zero"
      ]
    },
    {
      "page": "ex1_delayed_effect",
      "title": "Time-to-event data example 1 for non-proportional hazards working group",
      "topics": [
        "ex1_delayed_effect"
      ]
    },
    {
      "page": "ex2_delayed_effect",
      "title": "Time-to-event data example 2 for non-proportional hazards working group",
      "topics": [
        "ex2_delayed_effect"
      ]
    },
    {
      "page": "ex3_cure_with_ph",
      "title": "Time-to-event data example 3 for non-proportional hazards working group",
      "topics": [
        "ex3_cure_with_ph"
      ]
    },
    {
      "page": "ex4_belly",
      "title": "Time-to-event data example 4 for non-proportional hazards working group",
      "topics": [
        "ex4_belly"
      ]
    },
    {
      "page": "ex5_widening",
      "title": "Time-to-event data example 5 for non-proportional hazards working group",
      "topics": [
        "ex5_widening"
      ]
    },
    {
      "page": "ex6_crossing",
      "title": "Time-to-event data example 6 for non-proportional hazards working group",
      "topics": [
        "ex6_crossing"
      ]
    },
    {
      "page": "fh",
      "title": "Fleming-Harrington weighting function",
      "topics": [
        "fh"
      ]
    },
    {
      "page": "fit_pwexp",
      "title": "Piecewise exponential survival estimation",
      "topics": [
        "fit_pwexp"
      ]
    },
    {
      "page": "get_analysis_date",
      "title": "Derive analysis date for interim/final analysis given multiple conditions",
      "topics": [
        "get_analysis_date"
      ]
    },
    {
      "page": "get_cut_date_by_event",
      "title": "Get date at which an event count is reached",
      "topics": [
        "get_cut_date_by_event"
      ]
    },
    {
      "page": "maxcombo",
      "title": "MaxCombo test",
      "topics": [
        "maxcombo"
      ]
    },
    {
      "page": "mb",
      "title": "Magirr and Burman weighting function",
      "topics": [
        "mb"
      ]
    },
    {
      "page": "mb_delayed_effect",
      "title": "Simulated survival dataset with delayed treatment effect",
      "topics": [
        "mb_delayed_effect"
      ]
    },
    {
      "page": "milestone",
      "title": "Milestone test for two survival curves",
      "topics": [
        "milestone"
      ]
    },
    {
      "page": "multitest",
      "title": "Perform multiple tests on trial data cutting",
      "topics": [
        "multitest"
      ]
    },
    {
      "page": "randomize_by_fixed_block",
      "title": "Permuted fixed block randomization",
      "topics": [
        "randomize_by_fixed_block"
      ]
    },
    {
      "page": "rmst",
      "title": "RMST difference of 2 arms",
      "topics": [
        "rmst"
      ]
    },
    {
      "page": "rpwexp",
      "title": "The piecewise exponential distribution",
      "topics": [
        "rpwexp"
      ]
    },
    {
      "page": "rpwexp_enroll",
      "title": "Generate piecewise exponential enrollment",
      "topics": [
        "rpwexp_enroll"
      ]
    },
    {
      "page": "sim_fixed_n",
      "title": "Simulation of fixed sample size design for time-to-event endpoint",
      "topics": [
        "sim_fixed_n"
      ]
    },
    {
      "page": "sim_gs_n",
      "title": "Simulate group sequential designs with fixed sample size",
      "topics": [
        "sim_gs_n"
      ]
    },
    {
      "page": "sim_pw_surv",
      "title": "Simulate a stratified time-to-event outcome randomized trial",
      "topics": [
        "sim_pw_surv"
      ]
    },
    {
      "page": "summary",
      "title": "Summary of group sequential simulations.",
      "topics": [
        "summary.simtrial_gs_wlr"
      ]
    },
    {
      "page": "to_sim_pw_surv",
      "title": "Convert enrollment and failure rates from 'sim_fixed_n()' to 'sim_pw_surv()' format",
      "topics": [
        "to_sim_pw_surv"
      ]
    },
    {
      "page": "wlr",
      "title": "Weighted logrank test",
      "topics": [
        "wlr",
        "wlr.counting_process",
        "wlr.default",
        "wlr.tte_data"
      ]
    }
  ],
  "_pkglogo": "https://github.com/merck/simtrial/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/merck/simtrial/raw/HEAD/README.md",
  "_rundeps": [
    "codetools",
    "data.table",
    "digest",
    "doFuture",
    "foreach",
    "future",
    "future.apply",
    "globals",
    "iterators",
    "lattice",
    "listenv",
    "Matrix",
    "mvtnorm",
    "parallelly",
    "Rcpp",
    "survival"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "arbitrary-hazard.Rmd",
      "filename": "arbitrary-hazard.html",
      "title": "Approximating an arbitrary hazard function",
      "author": "Keaven Anderson",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-11-28 17:21:13",
      "modified": "2024-05-07 01:09:12",
      "commits": 5
    },
    {
      "source": "routines.Rmd",
      "filename": "routines.html",
      "title": "Basic tools for time-to-event trial simulation and testing",
      "author": "Keaven Anderson",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Randomization",
        "Enrollment",
        "Time-to-event and time-to-dropout",
        "Generating a trial",
        "Cutting data for analysis",
        "Generating a counting process dataset",
        "Logrank and weighted logrank testing",
        "Simplification for 2-arm trials"
      ],
      "created": "2023-11-28 17:21:13",
      "modified": "2024-05-07 01:09:12",
      "commits": 6
    },
    {
      "source": "maxcombo.Rmd",
      "filename": "maxcombo.html",
      "title": "Computing p-values for Fleming-Harrington weighted logrank tests and the MaxCombo test",
      "author": "Keaven Anderson, Yujie Zhao",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Defining the test",
        "Executing for a single dataset",
        "Generating test statistics with sim_fixed_n()",
        "Generating data with sim_pw_surv()",
        "Using survival data in another format",
        "Simulation",
        "References"
      ],
      "created": "2024-04-11 18:49:18",
      "modified": "2024-05-07 01:09:12",
      "commits": 4
    },
    {
      "source": "sim_fixed_design_custom.Rmd",
      "filename": "sim_fixed_design_custom.html",
      "title": "Custom Fixed Design Simulations: A Tutorial on Writing Code from the Ground Up",
      "author": "Yujie Zhao and Keaven Anderson",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Step 1: Simulate time-to-event data",
        "Scenario a) The simplest scenario",
        "Scenario b) Differential dropout rates",
        "Scenario c) Stratified designs",
        "Scenario d) Multi-arm designs",
        "Step 2: Cut data",
        "Step 3: Run tests",
        "Step 4: Perform the above single simulation repeatedly",
        "Step 5: Summarize simulations",
        "References"
      ],
      "created": "2025-03-21 17:03:19",
      "modified": "2025-03-25 16:40:27",
      "commits": 2
    },
    {
      "source": "discrepancy-between-simtrial-and-survival.Rmd",
      "filename": "discrepancy-between-simtrial-and-survival.html",
      "title": "Note on potential discrepancies between simtrial and survdiff",
      "author": "Larry Leon",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Scenario definitions",
        "A scenario that generates a discrepancy"
      ],
      "created": "2025-01-31 15:53:19",
      "modified": "2025-03-13 20:30:40",
      "commits": 3
    },
    {
      "source": "rmst.Rmd",
      "filename": "rmst.html",
      "title": "Restricted mean survival time (RMST)",
      "author": "Yujie Zhao, Yilong Zhang",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "RMST vs. logrank",
        "Estimation of RMST in a single arm at a single time point",
        "$$\\hat{S}(t_i)",
        "\\prod_{j=1}^{i}\\left(1-\\frac{d_{j}}{Y_{j}}\\right)$$Based on the definition and formula above, $\\text{RMST}(\\tau)$ can be estimated by$$\\widehat{\\text{RMST}}(\\tau)",
        "\\int_{0}^{\\tau} \\hat{S}(t) d t",
        "The standard error of $\\widehat",
        "\\widehat{\\text{Var}}(\\widehat{\\text{RMST}}(\\tau))",
        "\\sqrt",
        "\\int_{t_i}^{\\tau} \\hat{S}(t) d t",
        "Estimation of RMST differences in 2 arms at a single time point",
        "References"
      ],
      "created": "2024-02-05 19:22:44",
      "modified": "2024-07-23 15:27:17",
      "commits": 5
    },
    {
      "source": "sim_fixed_design_simple.Rmd",
      "filename": "sim_fixed_design_simple.html",
      "title": "Simulate Fixed Designs with Ease via sim_fixed_n",
      "author": "Yujie Zhao and Keaven Anderson",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Step 1: Define design parameters",
        "Step 2: Run sim_fixed_n()",
        "Step 3: Summarize simulations"
      ],
      "created": "2025-03-21 17:03:19",
      "modified": "2025-06-11 14:35:49",
      "commits": 2
    },
    {
      "source": "sim_gs_design_simple.Rmd",
      "filename": "sim_gs_design_simple.html",
      "title": "Simulate Group Sequential Designs with Ease via sim_gs_n",
      "author": "Yujie Zhao and Keaven Anderson",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Step 1: Define design paramaters",
        "Step 2: Run sim_gs_n()",
        "Step 3: Summarize simulations",
        "References"
      ],
      "created": "2025-03-21 17:03:19",
      "modified": "2025-06-11 14:35:49",
      "commits": 2
    },
    {
      "source": "parallel.Rmd",
      "filename": "parallel.html",
      "title": "Simulating time-to-event trials in parallel",
      "author": "Cole Manschot, Nan Xiao",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Background",
        "The sequential run",
        "Setting up a parallel backend",
        "Execution in parallel",
        "A nested parallel example"
      ],
      "created": "2023-09-25 18:48:17",
      "modified": "2025-04-03 21:14:21",
      "commits": 10
    },
    {
      "source": "workflow.Rmd",
      "filename": "workflow.html",
      "title": "TTE simulation data manipulations",
      "author": "Keaven Anderson",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Results data table",
        "Simulated trial dataset generation",
        "Dataset manipulations for analysis",
        "Flow for simulating group sequential: one scenario algorithm"
      ],
      "created": "2023-05-30 18:08:26",
      "modified": "2024-08-08 18:30:46",
      "commits": 4
    },
    {
      "source": "modest-wlrt.Rmd",
      "filename": "modest-wlrt.html",
      "title": "Using the Magirr-Burman weights for testing",
      "author": "Keaven Anderson, Yujie Zhao",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Simulating a delayed effect example",
        "Generalizing the Magirr-Burman test",
        "Freidlin and Korn strong null hypothesis example",
        "References"
      ],
      "created": "2023-11-28 17:21:13",
      "modified": "2024-08-08 18:30:46",
      "commits": 8
    }
  ],
  "_score": 9.999095726707058,
  "_indexed": true,
  "_nocasepkg": "simtrial",
  "_universes": [
    "merck",
    "littlebeannie"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-28T22:39:16.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "687749ba5c89015ba3dab54c1334e4151f989ac3",
      "fileid": "0f8d28cd1ccfad16aa15441e9c223b4f2fda56a964b126a98929f88179d878d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/merck/actions/runs/26606106400"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-28T22:39:05.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "687749ba5c89015ba3dab54c1334e4151f989ac3",
      "fileid": "2f40f18f8d20a2129bab3451066c307ceb9be486c103867bc3ff462e6e71471f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/merck/actions/runs/26606106400"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-28T22:39:09.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "687749ba5c89015ba3dab54c1334e4151f989ac3",
      "fileid": "937d3caee2482d590ee9f829e04b2ff4fb4e4596f612248b0b67110e0347bb73",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/merck/actions/runs/26606106400"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-28T22:39:03.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "687749ba5c89015ba3dab54c1334e4151f989ac3",
      "fileid": "64a964720861c1cbc79540c1d2436cf47779ead871019e38785bbcb00b5b1d6d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/merck/actions/runs/26606106400"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-28T22:38:09.000Z",
      "arch": "aarch64",
      "commit": "687749ba5c89015ba3dab54c1334e4151f989ac3",
      "fileid": "5d2e78f3afae8ca7062970a4dcd0d866ae305ea780eba22257080dc89381e5a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/merck/actions/runs/26606106400"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-28T22:41:47.000Z",
      "arch": "x86_64",
      "commit": "687749ba5c89015ba3dab54c1334e4151f989ac3",
      "fileid": "62c59ed437a7ba73c4811beb39b85cdf390aea794e145b43f59f2f385f651471",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/merck/actions/runs/26606106400"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-28T22:38:23.000Z",
      "arch": "aarch64",
      "commit": "687749ba5c89015ba3dab54c1334e4151f989ac3",
      "fileid": "c54ce9cd50eb86a0b18a62652e6f0e31856a9b26d9593368623708ca3872cb2e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/merck/actions/runs/26606106400"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-28T22:40:17.000Z",
      "arch": "x86_64",
      "commit": "687749ba5c89015ba3dab54c1334e4151f989ac3",
      "fileid": "aa6bd2a8f1f2167a3c053336461116ceaee3bb0cf86b6b39a9da9b78011602aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/merck/actions/runs/26606106400"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-05-28T22:39:03.000Z",
      "arch": "emscripten",
      "commit": "687749ba5c89015ba3dab54c1334e4151f989ac3",
      "fileid": "5baaeaa6cd60c278e0d50c699d6e0c299bb0bb6e174d136485a1923bbdea6caa",
      "status": "success",
      "buildurl": "https://github.com/r-universe/merck/actions/runs/26606106400"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-28T22:38:12.000Z",
      "arch": "x86_64",
      "commit": "687749ba5c89015ba3dab54c1334e4151f989ac3",
      "fileid": "29153eae6c5c4443c05f0abb9649dfab8807bc2246a492343a5ba7b75098226d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/merck/actions/runs/26606106400"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-28T22:38:24.000Z",
      "arch": "x86_64",
      "commit": "687749ba5c89015ba3dab54c1334e4151f989ac3",
      "fileid": "6270a71d6e6def7ef2505e7c8a35e6c4b98d0c43840fb7560141ac3c1e867a85",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/merck/actions/runs/26606106400"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-28T22:38:35.000Z",
      "arch": "x86_64",
      "commit": "687749ba5c89015ba3dab54c1334e4151f989ac3",
      "fileid": "27f3a8025b695448878a3cde7f06ac669cfb4340ac18d34cdbe4d210eb02dc72",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/merck/actions/runs/26606106400"
    }
  ]
}