{
  "_id": "6a2491764b233be198385426",
  "Package": "lrstat",
  "Type": "Package",
  "Title": "Power and Sample Size Calculation for Non-Proportional Hazards\nand Beyond",
  "Version": "0.3.3",
  "Authors@R": "person(\"Kaifeng\", \"Lu\", , \"kaifenglu@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-6160-7119\"))",
  "Description": "Performs power and sample size calculation for\nnon-proportional hazards model using the Fleming-Harrington\nfamily of weighted log-rank tests. The sequentially calculated\nlog-rank test score statistics are assumed to have independent\nincrements as characterized in Anastasios A. Tsiatis (1982)\n<doi:10.1080/01621459.1982.10477898>. The mean and variance of\nlog-rank test score statistics are calculated based on Kaifeng\nLu (2021) <doi:10.1002/pst.2069>. The boundary crossing\nprobabilities are calculated using the recursive integration\nalgorithm described in Christopher Jennison and Bruce W.\nTurnbull (2000, ISBN:0849303168). The package can also be used\nfor continuous, binary, and count data. For continuous data, it\ncan handle missing data through mixed-model for repeated\nmeasures (MMRM). In crossover designs, it can estimate direct\ntreatment effects while accounting for carryover effects. For\nbinary data, it can design Simon's 2-stage, modified toxicity\nprobability-2 (mTPI-2), and Bayesian optimal interval (BOIN)\ntrials. For count data, it can design group sequential trials\nfor negative binomial endpoints with censoring. Additionally,\nit facilitates group sequential equivalence trials for all\nsupported data types. Moreover, it can design adaptive group\nsequential trials for changes in sample size, error spending\nfunction, number and spacing or future looks. Finally, it\noffers various options for adjusted p-values, including\ngraphical and gatekeeping procedures.",
  "License": "GPL (>= 2)",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "Encoding": "UTF-8",
  "NeedsCompilation": "yes",
  "SystemRequirements": "C++17",
  "LazyData": "true",
  "URL": "https://kaifenglu.github.io/lrstat/,\nhttps://github.com/kaifenglu/lrstat",
  "BugReports": "https://github.com/kaifenglu/lrstat/issues",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake make libuv1-dev zlib1g-dev",
  "Repository": "https://kaifenglu.r-universe.dev",
  "Date/Publication": "2026-06-06 19:59:24 UTC",
  "RemoteUrl": "https://github.com/kaifenglu/lrstat",
  "RemoteRef": "HEAD",
  "RemoteSha": "9d0a47d0730788e65e481c437bb50c18c2f06fc2",
  "Packaged": {
    "Date": "2026-06-06 21:12:49 UTC",
    "User": "root"
  },
  "Author": "Kaifeng Lu [aut, cre] (ORCID: <https://orcid.org/0000-0002-6160-7119>)",
  "Maintainer": "Kaifeng Lu <kaifenglu@gmail.com>",
  "MD5sum": "6b1c963f2ae4236ca88f318440911265",
  "_user": "kaifenglu",
  "_type": "src",
  "_file": "lrstat_0.3.3.tar.gz",
  "_fileid": "0fd0d6aaea7604c8841db1b61d527f838cb3d896f4cb1886abfb31c7aac500cf",
  "_filesize": 2396498,
  "_sha256": "0fd0d6aaea7604c8841db1b61d527f838cb3d896f4cb1886abfb31c7aac500cf",
  "_created": "2026-06-06T21:12:49.000Z",
  "_published": "2026-06-06T21:30:30.299Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79908457531,
      "time": 474,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7458045639"
    },
    {
      "job": 79908457529,
      "time": 436,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7458040776"
    },
    {
      "job": 79908457525,
      "time": 471,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7458045201"
    },
    {
      "job": 79908457522,
      "time": 445,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7458041833"
    },
    {
      "job": 79908457520,
      "time": 312,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7458026623"
    },
    {
      "job": 79908457495,
      "time": 514,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7458049799"
    },
    {
      "job": 79908457494,
      "time": 249,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7458019323"
    },
    {
      "job": 79908457528,
      "time": 778,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7458081425"
    },
    {
      "job": 79907776608,
      "time": 686,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7457990931"
    },
    {
      "job": 79908457482,
      "time": 139,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79908457499,
      "time": 583,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7458057874"
    },
    {
      "job": 79908457500,
      "time": 522,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7458050580"
    },
    {
      "job": 79908457510,
      "time": 596,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7458059407"
    }
  ],
  "_buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/27073880881",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/kaifenglu/lrstat",
  "_commit": {
    "id": "9d0a47d0730788e65e481c437bb50c18c2f06fc2",
    "author": "Kaifeng Lu <kaifenglu@gmail.com>",
    "committer": "Kaifeng Lu <kaifenglu@gmail.com>",
    "message": "from maxIters from SimWorker\n",
    "time": 1780775964
  },
  "_maintainer": {
    "name": "Kaifeng Lu",
    "email": "kaifenglu@gmail.com",
    "login": "kaifenglu",
    "description": "",
    "uuid": 95114218,
    "orcid": "0000-0002-6160-7119"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "role": "LinkingTo"
    },
    {
      "package": "RcppThread",
      "role": "LinkingTo"
    },
    {
      "package": "BH",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.9",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.1.5",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "version": ">= 3.5",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.6",
      "role": "Imports"
    },
    {
      "package": "lpSolve",
      "version": ">= 5.6.1",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.3.6",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "version": ">= 1.7.1",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.4",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "version": ">= 1.3.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "version": ">= 1.45",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "version": ">= 2.25",
      "role": "Suggests"
    },
    {
      "package": "mvtnorm",
      "version": ">= 1.1-3",
      "role": "Suggests"
    },
    {
      "package": "survival",
      "version": ">= 3.5-7",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "version": ">= 2.2.0",
      "role": "Suggests"
    }
  ],
  "_owner": "kaifenglu",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2025-24",
      "n": 20
    },
    {
      "week": "2025-28",
      "n": 14
    },
    {
      "week": "2025-29",
      "n": 1
    },
    {
      "week": "2025-48",
      "n": 42
    },
    {
      "week": "2025-49",
      "n": 15
    },
    {
      "week": "2026-06",
      "n": 13
    },
    {
      "week": "2026-07",
      "n": 10
    },
    {
      "week": "2026-08",
      "n": 11
    },
    {
      "week": "2026-09",
      "n": 11
    },
    {
      "week": "2026-10",
      "n": 80
    },
    {
      "week": "2026-14",
      "n": 43
    },
    {
      "week": "2026-15",
      "n": 30
    },
    {
      "week": "2026-16",
      "n": 41
    },
    {
      "week": "2026-17",
      "n": 10
    },
    {
      "week": "2026-18",
      "n": 77
    },
    {
      "week": "2026-19",
      "n": 36
    },
    {
      "week": "2026-20",
      "n": 54
    },
    {
      "week": "2026-21",
      "n": 3
    },
    {
      "week": "2026-22",
      "n": 4
    },
    {
      "week": "2026-23",
      "n": 15
    }
  ],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "kaifenglu",
      "count": 737,
      "uuid": 95114218
    },
    {
      "user": "copilot",
      "count": 3,
      "uuid": 198982749
    }
  ],
  "_userbio": {
    "uuid": 95114218,
    "type": "user",
    "name": "kaifenglu"
  },
  "_downloads": {
    "count": 885,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lrstat"
  },
  "_devurl": "https://github.com/kaifenglu/lrstat",
  "_pkgdown": "https://kaifenglu.github.io/lrstat/",
  "_searchresults": 40,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lrstat.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/kaifenglu/lrstat",
  "_realowner": "kaifenglu",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-12-17"
    },
    {
      "version": "0.1.1",
      "date": "2021-12-23"
    },
    {
      "version": "0.1.2",
      "date": "2022-02-02"
    },
    {
      "version": "0.1.3",
      "date": "2022-02-09"
    },
    {
      "version": "0.1.4",
      "date": "2022-06-07"
    },
    {
      "version": "0.1.5",
      "date": "2022-06-09"
    },
    {
      "version": "0.1.6",
      "date": "2022-08-09"
    },
    {
      "version": "0.1.7",
      "date": "2022-08-29"
    },
    {
      "version": "0.1.8",
      "date": "2022-09-11"
    },
    {
      "version": "0.1.9",
      "date": "2022-10-09"
    },
    {
      "version": "0.1.10",
      "date": "2022-10-25"
    },
    {
      "version": "0.1.11",
      "date": "2023-02-09"
    },
    {
      "version": "0.1.12",
      "date": "2023-04-30"
    },
    {
      "version": "0.1.13",
      "date": "2023-05-20"
    },
    {
      "version": "0.1.14",
      "date": "2023-06-09"
    },
    {
      "version": "0.1.15",
      "date": "2023-08-17"
    },
    {
      "version": "0.2.0",
      "date": "2023-10-01"
    },
    {
      "version": "0.2.1",
      "date": "2023-11-28"
    },
    {
      "version": "0.2.2",
      "date": "2023-12-22"
    },
    {
      "version": "0.2.3",
      "date": "2024-02-27"
    },
    {
      "version": "0.2.4",
      "date": "2024-03-19"
    },
    {
      "version": "0.2.5",
      "date": "2024-04-22"
    },
    {
      "version": "0.2.6",
      "date": "2024-05-11"
    },
    {
      "version": "0.2.7",
      "date": "2024-06-14"
    },
    {
      "version": "0.2.8",
      "date": "2024-06-19"
    },
    {
      "version": "0.2.9",
      "date": "2024-06-23"
    },
    {
      "version": "0.2.10",
      "date": "2024-10-18"
    },
    {
      "version": "0.2.11",
      "date": "2024-12-04"
    },
    {
      "version": "0.2.12",
      "date": "2025-01-17"
    },
    {
      "version": "0.2.13",
      "date": "2025-03-22"
    },
    {
      "version": "0.2.14",
      "date": "2025-06-09"
    },
    {
      "version": "0.2.15",
      "date": "2025-07-14"
    },
    {
      "version": "0.3.0",
      "date": "2026-03-07"
    },
    {
      "version": "0.3.1",
      "date": "2026-04-08"
    },
    {
      "version": "0.3.2",
      "date": "2026-05-13"
    }
  ],
  "_exports": [
    "accrual",
    "adaptDesign",
    "adaptDesign_mams",
    "adaptDesign_seamless",
    "assess_phregr",
    "binary_tte_sim",
    "BOINTable",
    "caltime",
    "ClopperPearsonCI",
    "corr_pfs_os",
    "covrmst",
    "dtpwexp",
    "errorSpent",
    "exitprob",
    "exitprob_mams",
    "exitprob_seamless",
    "fadjpbon",
    "fadjpdun",
    "fadjpsim",
    "float_to_fraction",
    "fmodmix",
    "fquantile",
    "fseqbon",
    "fstdmix",
    "fstp2seq",
    "ftrunc",
    "fwgtmat",
    "getAccrualDurationFromN",
    "getADCI",
    "getADCI_mams",
    "getADCI_seamless",
    "getADRCI",
    "getBound",
    "getBound_mams",
    "getBound_seamless",
    "getCI",
    "getCI_mams",
    "getCI_seamless",
    "getCP",
    "getCP_mams",
    "getCP_seamless",
    "getDesign",
    "getDesign_mams",
    "getDesign_seamless",
    "getDesign2",
    "getDesignAgreement",
    "getDesignANOVA",
    "getDesignANOVAContrast",
    "getDesignEquiv",
    "getDesignFisherExact",
    "getDesignLogistic",
    "getDesignMeanDiff",
    "getDesignMeanDiffCarryover",
    "getDesignMeanDiffCarryoverEquiv",
    "getDesignMeanDiffEquiv",
    "getDesignMeanDiffMMRM",
    "getDesignMeanDiffXO",
    "getDesignMeanDiffXOEquiv",
    "getDesignMeanRatio",
    "getDesignMeanRatioEquiv",
    "getDesignMeanRatioXO",
    "getDesignMeanRatioXOEquiv",
    "getDesignOddsRatio",
    "getDesignOddsRatioEquiv",
    "getDesignOneMean",
    "getDesignOneMultinom",
    "getDesignOneProportion",
    "getDesignOneRateExact",
    "getDesignOneSlope",
    "getDesignOrderedBinom",
    "getDesignPairedMeanDiff",
    "getDesignPairedMeanDiffEquiv",
    "getDesignPairedMeanRatio",
    "getDesignPairedMeanRatioEquiv",
    "getDesignPairedPropMcNemar",
    "getDesignRepeatedANOVA",
    "getDesignRepeatedANOVAContrast",
    "getDesignRiskDiff",
    "getDesignRiskDiffEquiv",
    "getDesignRiskDiffExact",
    "getDesignRiskDiffExactEquiv",
    "getDesignRiskRatio",
    "getDesignRiskRatioEquiv",
    "getDesignRiskRatioExact",
    "getDesignRiskRatioExactEquiv",
    "getDesignRiskRatioFM",
    "getDesignSlopeDiff",
    "getDesignSlopeDiffMMRM",
    "getDesignTwoMultinom",
    "getDesignTwoOrdinal",
    "getDesignTwoWayANOVA",
    "getDesignUnorderedBinom",
    "getDesignUnorderedMultinom",
    "getDesignWilcoxon",
    "getDurationFromNevents",
    "getNeventsFromHazardRatio",
    "getRCI",
    "hazard_pd",
    "hazard_sub",
    "hedgesg",
    "kmdiff",
    "kmest",
    "kmpower",
    "kmpower1s",
    "kmpowerequiv",
    "kmsamplesize",
    "kmsamplesize1s",
    "kmsamplesizeequiv",
    "kmstat",
    "kmsurv",
    "liferegr",
    "logisregr",
    "lrpower",
    "lrpowerequiv",
    "lrsamplesize",
    "lrsamplesizeequiv",
    "lrschoenfeld",
    "lrsim",
    "lrsim_mams",
    "lrsim_seamless",
    "lrsim2e",
    "lrsim2e3a",
    "lrsim3a",
    "lrsimsub",
    "lrstat",
    "lrtest",
    "mnOddsRatioCI",
    "mnRateDiffCI",
    "mnRateRatioCI",
    "mnRiskDiffCI",
    "mnRiskRatioCI",
    "mTPI2Table",
    "mtpwexp",
    "natrisk",
    "nbpower",
    "nbpower1s",
    "nbpowerequiv",
    "nbsamplesize",
    "nbsamplesize1s",
    "nbsamplesizeequiv",
    "nbstat",
    "nevent",
    "patrisk",
    "pbvnorm",
    "pevent",
    "phregr",
    "pmvnormr",
    "powerFisherExact",
    "powerOnePropExact",
    "powerOneRateExact",
    "powerRiskDiffExact",
    "powerRiskDiffExactEquiv",
    "powerRiskRatioExact",
    "powerRiskRatioExactEquiv",
    "ptpwexp",
    "pwexpcuts",
    "pwexploglik",
    "qmvnormr",
    "qtpwexp",
    "remlOddsRatio",
    "remlRateDiff",
    "remlRateRatio",
    "remlRiskDiff",
    "remlRiskRatio",
    "repeatedPValue",
    "residuals_liferegr",
    "residuals_phregr",
    "riskDiffExactCI",
    "riskDiffExactPValue",
    "riskRatioExactCI",
    "riskRatioExactPValue",
    "rmdiff",
    "rmest",
    "rmpower",
    "rmpower1s",
    "rmpowerequiv",
    "rmsamplesize",
    "rmsamplesize1s",
    "rmsamplesizeequiv",
    "rmst",
    "rmstat",
    "rtpwexp",
    "runShinyApp_lrstat",
    "samplesizeFisherExact",
    "samplesizeOnePropExact",
    "samplesizeOneRateExact",
    "samplesizeRiskDiffExact",
    "samplesizeRiskDiffExactEquiv",
    "samplesizeRiskRatioExact",
    "samplesizeRiskRatioExactEquiv",
    "simon2stage",
    "simonBayesAnalysis",
    "simonBayesSim",
    "survfit_phregr",
    "survQuantile",
    "svdcpp",
    "updateGraph",
    "zph_phregr",
    "zstatOddsRatio",
    "zstatRateDiff",
    "zstatRateRatio",
    "zstatRiskDiff",
    "zstatRiskRatio"
  ],
  "_datasets": [
    {
      "name": "aml",
      "title": "Acute myelogenous leukemia survival data from the survival package",
      "object": "aml",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time",
        "status",
        "x"
      ],
      "rows": 23,
      "table": true,
      "tojson": true
    },
    {
      "name": "heart",
      "title": "Stanford heart transplant data from the survival package",
      "object": "heart",
      "class": [
        "data.frame"
      ],
      "fields": [
        "start",
        "stop",
        "event",
        "age",
        "year",
        "surgery",
        "transplant",
        "id"
      ],
      "rows": 172,
      "table": true,
      "tojson": true
    },
    {
      "name": "immdef",
      "title": "Simulated CONCORDE trial data from the rpsftm package",
      "object": "immdef",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "def",
        "imm",
        "censyrs",
        "xo",
        "xoyrs",
        "prog",
        "progyrs",
        "entry"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "ingots",
      "title": "The binary data from Cox and Snell (1989, pp. 10-11).",
      "object": "ingots",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Heat",
        "Soak",
        "NotReady",
        "Freq"
      ],
      "rows": 25,
      "table": true,
      "tojson": true
    },
    {
      "name": "liver",
      "title": "The liver data used in SAS PROC PHREG documentation examples.",
      "object": "liver",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Time",
        "Status",
        "Age",
        "Albumin",
        "Bilirubin",
        "Edema",
        "Protime"
      ],
      "rows": 418,
      "table": true,
      "tojson": true
    },
    {
      "name": "rawdata",
      "title": "A simulated time-to-event data set with 10 replications",
      "object": "rawdata",
      "class": [
        "data.frame"
      ],
      "fields": [
        "iterationNumber",
        "arrivalTime",
        "stratum",
        "treatmentGroup",
        "timeUnderObservation",
        "event",
        "dropoutEvent"
      ],
      "rows": 4910,
      "table": true,
      "tojson": true
    },
    {
      "name": "sexagg",
      "title": "Urinary tract infection data from the logistf package",
      "object": "sexagg",
      "class": [
        "data.frame"
      ],
      "fields": [
        "case",
        "age",
        "oc",
        "vic",
        "vicl",
        "vis",
        "dia",
        "COUNT",
        "PERCENT"
      ],
      "rows": 36,
      "table": true,
      "tojson": true
    },
    {
      "name": "shilong",
      "title": "The randomized clinical trial SHIVA data in long format from the ipcwswitch package",
      "object": "shilong",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "tstart",
        "tstop",
        "event",
        "agerand",
        "sex.f",
        "tt_Lnum",
        "rmh_alea.c",
        "pathway.f",
        "bras.f",
        "ps",
        "ttc",
        "tran",
        "dpd",
        "dco",
        "ady",
        "dcut",
        "pd",
        "co"
      ],
      "rows": 602,
      "table": true,
      "tojson": true
    },
    {
      "name": "six",
      "title": "The repeated measures data from the \"Six Cities\" study of the health effects of air pollution (Ware et al. 1984).",
      "object": "six",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "case",
        "city",
        "i",
        "age",
        "smoke",
        "wheeze"
      ],
      "rows": 64,
      "table": true,
      "tojson": true
    },
    {
      "name": "tobin",
      "title": "Tobin's tobit data from the survival package",
      "object": "tobin",
      "class": [
        "data.frame"
      ],
      "fields": [
        "durable",
        "age",
        "quant"
      ],
      "rows": 20,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "lrstat-package",
      "title": "Power and Sample Size Calculation for Non-Proportional Hazards and Beyond",
      "topics": [
        "lrstat-package"
      ]
    },
    {
      "page": "accrual",
      "title": "Number of Enrolled Subjects",
      "topics": [
        "accrual"
      ]
    },
    {
      "page": "adaptDesign",
      "title": "Adaptive Design at an Interim Look",
      "topics": [
        "adaptDesign"
      ]
    },
    {
      "page": "adaptDesign_mams",
      "title": "Adaptive Multi-Arm Multi-Stage Design",
      "topics": [
        "adaptDesign_mams"
      ]
    },
    {
      "page": "adaptDesign_seamless",
      "title": "Adaptive Phase 2/3 Seamless Design",
      "topics": [
        "adaptDesign_seamless"
      ]
    },
    {
      "page": "aml",
      "title": "Acute myelogenous leukemia survival data from the survival package",
      "topics": [
        "aml"
      ]
    },
    {
      "page": "assess_phregr",
      "title": "Assess Proportional Hazards Assumption Based on Supremum Test",
      "topics": [
        "assess_phregr"
      ]
    },
    {
      "page": "binary_tte_sim",
      "title": "Simulation for a Binary and a Time-to-Event Endpoint in Group Sequential Trials",
      "topics": [
        "binary_tte_sim"
      ]
    },
    {
      "page": "BOINTable",
      "title": "BOIN Decision Table for Dose-Finding Trials",
      "topics": [
        "BOINTable"
      ]
    },
    {
      "page": "caltime",
      "title": "Calendar Times for Target Number of Events",
      "topics": [
        "caltime"
      ]
    },
    {
      "page": "ClopperPearsonCI",
      "title": "Clopper-Pearson Confidence Interval for One-Sample Proportion",
      "topics": [
        "ClopperPearsonCI"
      ]
    },
    {
      "page": "corr_pfs_os",
      "title": "Correlation Between PFS and OS Given Correlation Between PD and OS",
      "topics": [
        "corr_pfs_os"
      ]
    },
    {
      "page": "covrmst",
      "title": "Covariance Between Restricted Mean Survival Times",
      "topics": [
        "covrmst"
      ]
    },
    {
      "page": "dtpwexp",
      "title": "Density Function of Truncated Piecewise Exponential Distribution",
      "topics": [
        "dtpwexp"
      ]
    },
    {
      "page": "errorSpent",
      "title": "Error Spending",
      "topics": [
        "errorSpent"
      ]
    },
    {
      "page": "exitprob",
      "title": "Stagewise Exit Probabilities",
      "topics": [
        "exitprob"
      ]
    },
    {
      "page": "exitprob_mams",
      "title": "Exit Probabilities for Multi-Arm Multi-Stage Design",
      "topics": [
        "exitprob_mams"
      ]
    },
    {
      "page": "exitprob_seamless",
      "title": "Exit Probabilities for Phase 2/3 Seamless Design",
      "topics": [
        "exitprob_seamless"
      ]
    },
    {
      "page": "fadjpbon",
      "title": "Adjusted p-Values for Bonferroni-Based Graphical Approaches",
      "topics": [
        "fadjpbon"
      ]
    },
    {
      "page": "fadjpdun",
      "title": "Adjusted p-Values for Dunnett-Based Graphical Approaches",
      "topics": [
        "fadjpdun"
      ]
    },
    {
      "page": "fadjpsim",
      "title": "Adjusted p-Values for Simes-Based Graphical Approaches",
      "topics": [
        "fadjpsim"
      ]
    },
    {
      "page": "float_to_fraction",
      "title": "Converting a decimal to a fraction",
      "topics": [
        "float_to_fraction"
      ]
    },
    {
      "page": "fmodmix",
      "title": "Adjusted p-Values for Modified Mixture Gatekeeping Procedures",
      "topics": [
        "fmodmix"
      ]
    },
    {
      "page": "fquantile",
      "title": "The Quantiles of a Survival Distribution",
      "topics": [
        "fquantile"
      ]
    },
    {
      "page": "fseqbon",
      "title": "Group Sequential Trials Using Bonferroni-Based Graphical Approaches",
      "topics": [
        "fseqbon"
      ]
    },
    {
      "page": "fstdmix",
      "title": "Adjusted p-Values for Standard Mixture Gatekeeping Procedures",
      "topics": [
        "fstdmix"
      ]
    },
    {
      "page": "fstp2seq",
      "title": "Adjusted p-Values for Stepwise Testing Procedures for Two Sequences",
      "topics": [
        "fstp2seq"
      ]
    },
    {
      "page": "ftrunc",
      "title": "Adjusted p-Values for Holm, Hochberg, and Hommel Procedures",
      "topics": [
        "ftrunc"
      ]
    },
    {
      "page": "fwgtmat",
      "title": "Weight Matrix for All Intersection Hypotheses",
      "topics": [
        "fwgtmat"
      ]
    },
    {
      "page": "getAccrualDurationFromN",
      "title": "Accrual Duration to Enroll Target Number of Subjects",
      "topics": [
        "getAccrualDurationFromN"
      ]
    },
    {
      "page": "getADCI",
      "title": "Confidence Interval After Adaptation",
      "topics": [
        "getADCI"
      ]
    },
    {
      "page": "getADCI_mams",
      "title": "Confidence Interval After Adaptation for Multi-Arm Multi-Stage Design",
      "topics": [
        "getADCI_mams"
      ]
    },
    {
      "page": "getADCI_seamless",
      "title": "Confidence Interval After Adaptation for Phase 2/3 Seamless Design",
      "topics": [
        "getADCI_seamless"
      ]
    },
    {
      "page": "getADRCI",
      "title": "Repeated Confidence Interval After Adaptation",
      "topics": [
        "getADRCI"
      ]
    },
    {
      "page": "getBound",
      "title": "Efficacy Boundaries for Group Sequential Design",
      "topics": [
        "getBound"
      ]
    },
    {
      "page": "getBound_mams",
      "title": "Efficacy Boundaries for Multi-Arm Multi-Stage Design",
      "topics": [
        "getBound_mams"
      ]
    },
    {
      "page": "getBound_seamless",
      "title": "Efficacy Boundaries for Phase 2/3 Seamless Design",
      "topics": [
        "getBound_seamless"
      ]
    },
    {
      "page": "getCI",
      "title": "Confidence Interval After Trial Termination",
      "topics": [
        "getCI"
      ]
    },
    {
      "page": "getCI_mams",
      "title": "Confidence Interval After Trial Termination for Multi-Arm Multi-Stage Design",
      "topics": [
        "getCI_mams"
      ]
    },
    {
      "page": "getCI_seamless",
      "title": "Confidence Interval After Trial Termination for Phase 2/3 Seamless Design",
      "topics": [
        "getCI_seamless"
      ]
    },
    {
      "page": "getCP",
      "title": "Conditional Power for Generic Group Sequential Design",
      "topics": [
        "getCP"
      ]
    },
    {
      "page": "getCP_mams",
      "title": "Conditional Power for Multi-Arm Multi-Stage Design",
      "topics": [
        "getCP_mams"
      ]
    },
    {
      "page": "getCP_seamless",
      "title": "Conditional Power for Phase 2/3 Seamless Design",
      "topics": [
        "getCP_seamless"
      ]
    },
    {
      "page": "getDesign",
      "title": "Power and Sample Size for Generic Group Sequential Design",
      "topics": [
        "getDesign"
      ]
    },
    {
      "page": "getDesign_mams",
      "title": "Power and Sample Size for Multi-Arm Multi-Stage Design",
      "topics": [
        "getDesign_mams"
      ]
    },
    {
      "page": "getDesign_seamless",
      "title": "Power and Sample Size for Phase 2/3 Seamless Design",
      "topics": [
        "getDesign_seamless"
      ]
    },
    {
      "page": "getDesign2",
      "title": "Power and Sample Size for Group Sequential Design With Futility Stopping Under Null Hypothesis",
      "topics": [
        "getDesign2"
      ]
    },
    {
      "page": "getDesignAgreement",
      "title": "Power and Sample Size for Cohen's kappa",
      "topics": [
        "getDesignAgreement"
      ]
    },
    {
      "page": "getDesignANOVA",
      "title": "Power and Sample Size for One-Way ANOVA",
      "topics": [
        "getDesignANOVA"
      ]
    },
    {
      "page": "getDesignANOVAContrast",
      "title": "Power and Sample Size for One-Way ANOVA Contrast",
      "topics": [
        "getDesignANOVAContrast"
      ]
    },
    {
      "page": "getDesignEquiv",
      "title": "Power and Sample Size for Generic Group Sequential Equivalence Design",
      "topics": [
        "getDesignEquiv"
      ]
    },
    {
      "page": "getDesignFisherExact",
      "title": "Power and Sample Size for Fisher's Exact Test for Two Proportions",
      "topics": [
        "getDesignFisherExact"
      ]
    },
    {
      "page": "getDesignLogistic",
      "title": "Power and Sample Size for Logistic Regression",
      "topics": [
        "getDesignLogistic"
      ]
    },
    {
      "page": "getDesignMeanDiff",
      "title": "Group Sequential Design for Two-Sample Mean Difference",
      "topics": [
        "getDesignMeanDiff"
      ]
    },
    {
      "page": "getDesignMeanDiffCarryover",
      "title": "Power and Sample Size for Direct Treatment Effects in Crossover Trials",
      "topics": [
        "getDesignMeanDiffCarryover"
      ]
    },
    {
      "page": "getDesignMeanDiffCarryoverEquiv",
      "title": "Power and Sample Size for Equivalence in Direct Treatment Effects in Crossover Trials",
      "topics": [
        "getDesignMeanDiffCarryoverEquiv"
      ]
    },
    {
      "page": "getDesignMeanDiffEquiv",
      "title": "Group Sequential Design for Equivalence in Two-Sample Mean Difference",
      "topics": [
        "getDesignMeanDiffEquiv"
      ]
    },
    {
      "page": "getDesignMeanDiffMMRM",
      "title": "Group Sequential Design for Two-Sample Mean Difference From the MMRM Model",
      "topics": [
        "getDesignMeanDiffMMRM"
      ]
    },
    {
      "page": "getDesignMeanDiffXO",
      "title": "Group Sequential Design for Mean Difference in 2x2 Crossover",
      "topics": [
        "getDesignMeanDiffXO"
      ]
    },
    {
      "page": "getDesignMeanDiffXOEquiv",
      "title": "Group Sequential Design for Equivalence in Mean Difference in 2x2 Crossover",
      "topics": [
        "getDesignMeanDiffXOEquiv"
      ]
    },
    {
      "page": "getDesignMeanRatio",
      "title": "Group Sequential Design for Two-Sample Mean Ratio",
      "topics": [
        "getDesignMeanRatio"
      ]
    },
    {
      "page": "getDesignMeanRatioEquiv",
      "title": "Group Sequential Design for Equivalence in Two-Sample Mean Ratio",
      "topics": [
        "getDesignMeanRatioEquiv"
      ]
    },
    {
      "page": "getDesignMeanRatioXO",
      "title": "Group Sequential Design for Mean Ratio in 2x2 Crossover",
      "topics": [
        "getDesignMeanRatioXO"
      ]
    },
    {
      "page": "getDesignMeanRatioXOEquiv",
      "title": "Group Sequential Design for Equivalence in Mean Ratio in 2x2 Crossover",
      "topics": [
        "getDesignMeanRatioXOEquiv"
      ]
    },
    {
      "page": "getDesignOddsRatio",
      "title": "Group Sequential Design for Two-Sample Odds Ratio",
      "topics": [
        "getDesignOddsRatio"
      ]
    },
    {
      "page": "getDesignOddsRatioEquiv",
      "title": "Group Sequential Design for Equivalence in Two-Sample Odds Ratio",
      "topics": [
        "getDesignOddsRatioEquiv"
      ]
    },
    {
      "page": "getDesignOneMean",
      "title": "Group Sequential Design for One-Sample Mean",
      "topics": [
        "getDesignOneMean"
      ]
    },
    {
      "page": "getDesignOneMultinom",
      "title": "Power and Sample Size for One-Sample Multinomial Response",
      "topics": [
        "getDesignOneMultinom"
      ]
    },
    {
      "page": "getDesignOneProportion",
      "title": "Group Sequential Design for One-Sample Proportion",
      "topics": [
        "getDesignOneProportion"
      ]
    },
    {
      "page": "getDesignOneRateExact",
      "title": "Power and Sample Size for One-Sample Poisson Rate Exact Test",
      "topics": [
        "getDesignOneRateExact"
      ]
    },
    {
      "page": "getDesignOneSlope",
      "title": "Group Sequential Design for One-Sample Slope",
      "topics": [
        "getDesignOneSlope"
      ]
    },
    {
      "page": "getDesignOrderedBinom",
      "title": "Power and Sample Size for Cochran-Armitage Trend Test for Ordered Multi-Sample Binomial Response",
      "topics": [
        "getDesignOrderedBinom"
      ]
    },
    {
      "page": "getDesignPairedMeanDiff",
      "title": "Group Sequential Design for Paired Mean Difference",
      "topics": [
        "getDesignPairedMeanDiff"
      ]
    },
    {
      "page": "getDesignPairedMeanDiffEquiv",
      "title": "Group Sequential Design for Equivalence in Paired Mean Difference",
      "topics": [
        "getDesignPairedMeanDiffEquiv"
      ]
    },
    {
      "page": "getDesignPairedMeanRatio",
      "title": "Group Sequential Design for Paired Mean Ratio",
      "topics": [
        "getDesignPairedMeanRatio"
      ]
    },
    {
      "page": "getDesignPairedMeanRatioEquiv",
      "title": "Group Sequential Design for Equivalence in Paired Mean Ratio",
      "topics": [
        "getDesignPairedMeanRatioEquiv"
      ]
    },
    {
      "page": "getDesignPairedPropMcNemar",
      "title": "Group Sequential Design for McNemar's Test for Paired Proportions",
      "topics": [
        "getDesignPairedPropMcNemar"
      ]
    },
    {
      "page": "getDesignRepeatedANOVA",
      "title": "Power and Sample Size for Repeated-Measures ANOVA",
      "topics": [
        "getDesignRepeatedANOVA"
      ]
    },
    {
      "page": "getDesignRepeatedANOVAContrast",
      "title": "Power and Sample Size for One-Way Repeated Measures ANOVA Contrast",
      "topics": [
        "getDesignRepeatedANOVAContrast"
      ]
    },
    {
      "page": "getDesignRiskDiff",
      "title": "Group Sequential Design for Two-Sample Risk Difference",
      "topics": [
        "getDesignRiskDiff"
      ]
    },
    {
      "page": "getDesignRiskDiffEquiv",
      "title": "Group Sequential Design for Equivalence in Two-Sample Risk Difference",
      "topics": [
        "getDesignRiskDiffEquiv"
      ]
    },
    {
      "page": "getDesignRiskDiffExact",
      "title": "Power and Sample Size for Exact Unconditional Test for Risk Difference",
      "topics": [
        "getDesignRiskDiffExact"
      ]
    },
    {
      "page": "getDesignRiskDiffExactEquiv",
      "title": "Power and Sample Size for Exact Unconditional Test for Equivalence in Risk Difference",
      "topics": [
        "getDesignRiskDiffExactEquiv"
      ]
    },
    {
      "page": "getDesignRiskRatio",
      "title": "Group Sequential Design for Two-Sample Risk Ratio",
      "topics": [
        "getDesignRiskRatio"
      ]
    },
    {
      "page": "getDesignRiskRatioEquiv",
      "title": "Group Sequential Design for Equivalence in Two-Sample Risk Ratio",
      "topics": [
        "getDesignRiskRatioEquiv"
      ]
    },
    {
      "page": "getDesignRiskRatioExact",
      "title": "Power and Sample Size for Exact Unconditional Test for Risk Ratio",
      "topics": [
        "getDesignRiskRatioExact"
      ]
    },
    {
      "page": "getDesignRiskRatioExactEquiv",
      "title": "Power and Sample Size for Exact Unconditional Test for Equivalence in Risk Ratio",
      "topics": [
        "getDesignRiskRatioExactEquiv"
      ]
    },
    {
      "page": "getDesignRiskRatioFM",
      "title": "Group Sequential Design for Two-Sample Risk Ratio Based on the Farrington-Manning Score Test",
      "topics": [
        "getDesignRiskRatioFM"
      ]
    },
    {
      "page": "getDesignSlopeDiff",
      "title": "Group Sequential Design for Two-Sample Slope Difference",
      "topics": [
        "getDesignSlopeDiff"
      ]
    },
    {
      "page": "getDesignSlopeDiffMMRM",
      "title": "Group Sequential Design for Two-Sample Slope Difference From the MMRM Model",
      "topics": [
        "getDesignSlopeDiffMMRM"
      ]
    },
    {
      "page": "getDesignTwoMultinom",
      "title": "Power and Sample Size for Difference in Two-Sample Multinomial Responses",
      "topics": [
        "getDesignTwoMultinom"
      ]
    },
    {
      "page": "getDesignTwoOrdinal",
      "title": "Power and Sample Size for the Wilcoxon Test for Two-Sample Ordinal Response",
      "topics": [
        "getDesignTwoOrdinal"
      ]
    },
    {
      "page": "getDesignTwoWayANOVA",
      "title": "Power and Sample Size for Two-Way ANOVA",
      "topics": [
        "getDesignTwoWayANOVA"
      ]
    },
    {
      "page": "getDesignUnorderedBinom",
      "title": "Power and Sample Size for Unordered Multi-Sample Binomial Response",
      "topics": [
        "getDesignUnorderedBinom"
      ]
    },
    {
      "page": "getDesignUnorderedMultinom",
      "title": "Power and Sample Size for Unordered Multi-Sample Multinomial Response",
      "topics": [
        "getDesignUnorderedMultinom"
      ]
    },
    {
      "page": "getDesignWilcoxon",
      "title": "Group Sequential Design for Two-Sample Wilcoxon Test",
      "topics": [
        "getDesignWilcoxon"
      ]
    },
    {
      "page": "getDurationFromNevents",
      "title": "Range of Accrual Duration for Target Number of Events",
      "topics": [
        "getDurationFromNevents"
      ]
    },
    {
      "page": "getNeventsFromHazardRatio",
      "title": "Required Number of Events Given Hazard Ratio",
      "topics": [
        "getNeventsFromHazardRatio"
      ]
    },
    {
      "page": "getRCI",
      "title": "Repeated Confidence Interval for Group Sequential Design",
      "topics": [
        "getRCI"
      ]
    },
    {
      "page": "hazard_pd",
      "title": "Hazard Function for Progressive Disease (PD) Given Correlation Between PD and OS",
      "topics": [
        "hazard_pd"
      ]
    },
    {
      "page": "hazard_sub",
      "title": "Hazard Function for Sub Population",
      "topics": [
        "hazard_sub"
      ]
    },
    {
      "page": "heart",
      "title": "Stanford heart transplant data from the survival package",
      "topics": [
        "heart"
      ]
    },
    {
      "page": "hedgesg",
      "title": "Hedges' g Effect Size",
      "topics": [
        "hedgesg"
      ]
    },
    {
      "page": "immdef",
      "title": "Simulated CONCORDE trial data from the rpsftm package",
      "topics": [
        "immdef"
      ]
    },
    {
      "page": "ingots",
      "title": "The binary data from Cox and Snell (1989, pp. 10-11).",
      "topics": [
        "ingots"
      ]
    },
    {
      "page": "kmdiff",
      "title": "Estimate of Milestone Survival Difference",
      "topics": [
        "kmdiff"
      ]
    },
    {
      "page": "kmest",
      "title": "Kaplan-Meier Estimates of Survival Curve",
      "topics": [
        "kmest"
      ]
    },
    {
      "page": "kmpower",
      "title": "Power for Difference in Milestone Survival Probabilities",
      "topics": [
        "kmpower"
      ]
    },
    {
      "page": "kmpower1s",
      "title": "Power for One-Sample Milestone Survival Probability",
      "topics": [
        "kmpower1s"
      ]
    },
    {
      "page": "kmpowerequiv",
      "title": "Power for Equivalence in Milestone Survival Probability Difference",
      "topics": [
        "kmpowerequiv"
      ]
    },
    {
      "page": "kmsamplesize",
      "title": "Sample Size for Difference in Milestone Survival Probabilities",
      "topics": [
        "kmsamplesize"
      ]
    },
    {
      "page": "kmsamplesize1s",
      "title": "Sample Size for One-Sample Milestone Survival Probability",
      "topics": [
        "kmsamplesize1s"
      ]
    },
    {
      "page": "kmsamplesizeequiv",
      "title": "Sample Size for Equivalence in Milestone Survival Probability Difference",
      "topics": [
        "kmsamplesizeequiv"
      ]
    },
    {
      "page": "kmstat",
      "title": "Stratified Difference in Milestone Survival Probabilities",
      "topics": [
        "kmstat"
      ]
    },
    {
      "page": "liferegr",
      "title": "Parametric Regression Models for Failure Time Data",
      "topics": [
        "liferegr"
      ]
    },
    {
      "page": "liver",
      "title": "The liver data used in SAS PROC PHREG documentation examples.",
      "topics": [
        "liver"
      ]
    },
    {
      "page": "logisregr",
      "title": "Logistic Regression Models for Binary Data",
      "topics": [
        "logisregr"
      ]
    },
    {
      "page": "lrpower",
      "title": "Log-Rank Test Power",
      "topics": [
        "lrpower"
      ]
    },
    {
      "page": "lrpowerequiv",
      "title": "Power for Equivalence in Hazard Ratio",
      "topics": [
        "lrpowerequiv"
      ]
    },
    {
      "page": "lrsamplesize",
      "title": "Log-Rank Test Sample Size",
      "topics": [
        "lrsamplesize"
      ]
    },
    {
      "page": "lrsamplesizeequiv",
      "title": "Sample Size for Equivalence in Hazard Ratio",
      "topics": [
        "lrsamplesizeequiv"
      ]
    },
    {
      "page": "lrschoenfeld",
      "title": "Schoenfeld Method for Log-Rank Test Sample Size Calculation",
      "topics": [
        "lrschoenfeld"
      ]
    },
    {
      "page": "lrsim",
      "title": "Log-Rank Test Simulation",
      "topics": [
        "lrsim"
      ]
    },
    {
      "page": "lrsim_mams",
      "title": "Log-Rank Test Simulation for Multi-Arm Multi-Stage Design",
      "topics": [
        "lrsim_mams"
      ]
    },
    {
      "page": "lrsim_seamless",
      "title": "Log-Rank Test Simulation for Phase 2/3 Seamless Design",
      "topics": [
        "lrsim_seamless"
      ]
    },
    {
      "page": "lrsim2e",
      "title": "Log-Rank Test Simulation for PFS and OS Endpoints",
      "topics": [
        "lrsim2e"
      ]
    },
    {
      "page": "lrsim2e3a",
      "title": "Log-Rank Test Simulation for Two Endpoints (PFS and OS) and Three Arms",
      "topics": [
        "lrsim2e3a"
      ]
    },
    {
      "page": "lrsim3a",
      "title": "Log-Rank Test Simulation for Three Arms",
      "topics": [
        "lrsim3a"
      ]
    },
    {
      "page": "lrsimsub",
      "title": "Log-Rank Test Simulation for Enrichment Design",
      "topics": [
        "lrsimsub"
      ]
    },
    {
      "page": "lrstat",
      "title": "Number of Subjects Having an Event and Log-Rank Statistics",
      "topics": [
        "lrstat"
      ]
    },
    {
      "page": "lrtest",
      "title": "Log-Rank Test of Survival Curve Difference",
      "topics": [
        "lrtest"
      ]
    },
    {
      "page": "mnOddsRatioCI",
      "title": "Miettinen-Nurminen Score Confidence Interval for Two-Sample Odds Ratio",
      "topics": [
        "mnOddsRatioCI"
      ]
    },
    {
      "page": "mnRateDiffCI",
      "title": "Miettinen-Nurminen Score Confidence Interval for Two-Sample Rate Difference",
      "topics": [
        "mnRateDiffCI"
      ]
    },
    {
      "page": "mnRateRatioCI",
      "title": "Miettinen-Nurminen Score Confidence Interval for Two-Sample Rate Ratio",
      "topics": [
        "mnRateRatioCI"
      ]
    },
    {
      "page": "mnRiskDiffCI",
      "title": "Miettinen-Nurminen Score Confidence Interval for Two-Sample Risk Difference",
      "topics": [
        "mnRiskDiffCI"
      ]
    },
    {
      "page": "mnRiskRatioCI",
      "title": "Miettinen-Nurminen Score Confidence Interval for Two-Sample Risk Ratio",
      "topics": [
        "mnRiskRatioCI"
      ]
    },
    {
      "page": "mTPI2Table",
      "title": "mTPI-2 Decision Table",
      "topics": [
        "mTPI2Table"
      ]
    },
    {
      "page": "mtpwexp",
      "title": "Mean and Variance of Truncated Piecewise Exponential Distribution",
      "topics": [
        "mtpwexp"
      ]
    },
    {
      "page": "natrisk",
      "title": "Number of Subjects at Risk",
      "topics": [
        "natrisk"
      ]
    },
    {
      "page": "nbpower",
      "title": "Power for Negative Binomial Rate Ratio",
      "topics": [
        "nbpower"
      ]
    },
    {
      "page": "nbpower1s",
      "title": "Power for One-Sample Negative Binomial Rate",
      "topics": [
        "nbpower1s"
      ]
    },
    {
      "page": "nbpowerequiv",
      "title": "Power for Equivalence in Negative Binomial Rate Ratio",
      "topics": [
        "nbpowerequiv"
      ]
    },
    {
      "page": "nbsamplesize",
      "title": "Sample Size for Negative Binomial Rate Ratio",
      "topics": [
        "nbsamplesize"
      ]
    },
    {
      "page": "nbsamplesize1s",
      "title": "Sample Size for One-Sample Negative Binomial Rate",
      "topics": [
        "nbsamplesize1s"
      ]
    },
    {
      "page": "nbsamplesizeequiv",
      "title": "Sample Size for Equivalence in Negative Binomial Rate Ratio",
      "topics": [
        "nbsamplesizeequiv"
      ]
    },
    {
      "page": "nbstat",
      "title": "Negative Binomial Rate Ratio",
      "topics": [
        "nbstat"
      ]
    },
    {
      "page": "nevent",
      "title": "Number of Subjects Having an Event by Calendar Time",
      "topics": [
        "nevent"
      ]
    },
    {
      "page": "patrisk",
      "title": "Probability of Being at Risk",
      "topics": [
        "patrisk"
      ]
    },
    {
      "page": "pbvnorm",
      "title": "Distribution Function of the Standard Bivariate Normal",
      "topics": [
        "pbvnorm"
      ]
    },
    {
      "page": "pevent",
      "title": "Probability of Having an Event",
      "topics": [
        "pevent"
      ]
    },
    {
      "page": "phregr",
      "title": "Proportional Hazards Regression Models",
      "topics": [
        "phregr"
      ]
    },
    {
      "page": "pmvnormr",
      "title": "Multivariate Normal Probabilities over a Hyperrectangle",
      "topics": [
        "pmvnormr"
      ]
    },
    {
      "page": "ptpwexp",
      "title": "Distribution Function of Truncated Piecewise Exponential Distribution",
      "topics": [
        "ptpwexp"
      ]
    },
    {
      "page": "pwexpcuts",
      "title": "Piecewise Exponential Approximation to a Survival Distribution",
      "topics": [
        "pwexpcuts"
      ]
    },
    {
      "page": "pwexploglik",
      "title": "Profile Log-Likelihood Function for Change Points in Piecewise Exponential Approximation",
      "topics": [
        "pwexploglik"
      ]
    },
    {
      "page": "qmvnormr",
      "title": "Equicoordinate Quantiles of the Multivariate Normal Distribution",
      "topics": [
        "qmvnormr"
      ]
    },
    {
      "page": "qtpwexp",
      "title": "Quantile Function of Truncated Piecewise Exponential Distribution",
      "topics": [
        "qtpwexp"
      ]
    },
    {
      "page": "rawdata",
      "title": "A simulated time-to-event data set with 10 replications",
      "topics": [
        "rawdata"
      ]
    },
    {
      "page": "remlOddsRatio",
      "title": "REML Estimates of Individual Proportions With Specified Odds Ratio",
      "topics": [
        "remlOddsRatio"
      ]
    },
    {
      "page": "remlRateDiff",
      "title": "REML Estimates of Individual Rates With Specified Rate Difference",
      "topics": [
        "remlRateDiff"
      ]
    },
    {
      "page": "remlRateRatio",
      "title": "REML Estimates of Individual Rates With Specified Rate Ratio",
      "topics": [
        "remlRateRatio"
      ]
    },
    {
      "page": "remlRiskDiff",
      "title": "REML Estimates of Individual Proportions With Specified Risk difference",
      "topics": [
        "remlRiskDiff"
      ]
    },
    {
      "page": "remlRiskRatio",
      "title": "REML Estimates of Individual Proportions With Specified Risk Ratio",
      "topics": [
        "remlRiskRatio"
      ]
    },
    {
      "page": "repeatedPValue",
      "title": "Repeated p-Values for Group Sequential Design",
      "topics": [
        "repeatedPValue"
      ]
    },
    {
      "page": "residuals_liferegr",
      "title": "Residuals for Parametric Regression Models for Failure Time Data",
      "topics": [
        "residuals_liferegr"
      ]
    },
    {
      "page": "residuals_phregr",
      "title": "Residuals for Proportional Hazards Regression Models",
      "topics": [
        "residuals_phregr"
      ]
    },
    {
      "page": "riskDiffExactCI",
      "title": "Exact Unconditional Confidence Interval for Risk Difference",
      "topics": [
        "riskDiffExactCI"
      ]
    },
    {
      "page": "riskDiffExactPValue",
      "title": "P-Value for Exact Unconditional Test of Risk Difference",
      "topics": [
        "riskDiffExactPValue"
      ]
    },
    {
      "page": "riskRatioExactCI",
      "title": "Exact Unconditional Confidence Interval for Risk Ratio",
      "topics": [
        "riskRatioExactCI"
      ]
    },
    {
      "page": "riskRatioExactPValue",
      "title": "P-Value for Exact Unconditional Test of Risk Ratio",
      "topics": [
        "riskRatioExactPValue"
      ]
    },
    {
      "page": "rmdiff",
      "title": "Estimate of Restricted Mean Survival Time Difference",
      "topics": [
        "rmdiff"
      ]
    },
    {
      "page": "rmest",
      "title": "Estimate of Restricted Mean Survival Time",
      "topics": [
        "rmest"
      ]
    },
    {
      "page": "rmpower",
      "title": "Power for Difference in Restricted Mean Survival Times",
      "topics": [
        "rmpower"
      ]
    },
    {
      "page": "rmpower1s",
      "title": "Power for One-Sample Restricted Mean Survival Time",
      "topics": [
        "rmpower1s"
      ]
    },
    {
      "page": "rmpowerequiv",
      "title": "Power for Equivalence in Restricted Mean Survival Time Difference",
      "topics": [
        "rmpowerequiv"
      ]
    },
    {
      "page": "rmsamplesize",
      "title": "Sample Size for Difference in Restricted Mean Survival Times",
      "topics": [
        "rmsamplesize"
      ]
    },
    {
      "page": "rmsamplesize1s",
      "title": "Sample Size for One-Sample Restricted Mean Survival Time",
      "topics": [
        "rmsamplesize1s"
      ]
    },
    {
      "page": "rmsamplesizeequiv",
      "title": "Sample Size for Equivalence in Restricted Mean Survival Time Difference",
      "topics": [
        "rmsamplesizeequiv"
      ]
    },
    {
      "page": "rmst",
      "title": "Restricted Mean Survival Time",
      "topics": [
        "rmst"
      ]
    },
    {
      "page": "rmstat",
      "title": "Stratified Difference in Restricted Mean Survival Times",
      "topics": [
        "rmstat"
      ]
    },
    {
      "page": "rtpwexp",
      "title": "Random Number Generation Function of Truncated Piecewise Exponential Distribution",
      "topics": [
        "rtpwexp"
      ]
    },
    {
      "page": "runShinyApp_lrstat",
      "title": "Run Shiny App",
      "topics": [
        "runShinyApp_lrstat"
      ]
    },
    {
      "page": "sexagg",
      "title": "Urinary tract infection data from the logistf package",
      "topics": [
        "sexagg"
      ]
    },
    {
      "page": "shilong",
      "title": "The randomized clinical trial SHIVA data in long format from the ipcwswitch package",
      "topics": [
        "shilong"
      ]
    },
    {
      "page": "simon2stage",
      "title": "Simon's Two-Stage Design",
      "topics": [
        "simon2stage"
      ]
    },
    {
      "page": "simonBayesAnalysis",
      "title": "Analysis of Simon's Bayesian Basket Trials",
      "topics": [
        "simonBayesAnalysis"
      ]
    },
    {
      "page": "simonBayesSim",
      "title": "Simulation of Simon's Bayesian Basket Trials",
      "topics": [
        "simonBayesSim"
      ]
    },
    {
      "page": "six",
      "title": "The repeated measures data from the \"Six Cities\" study of the health effects of air pollution (Ware et al. 1984).",
      "topics": [
        "six"
      ]
    },
    {
      "page": "survfit_phregr",
      "title": "Survival Curve for Proportional Hazards Regression Models",
      "topics": [
        "survfit_phregr"
      ]
    },
    {
      "page": "survQuantile",
      "title": "Brookmeyer-Crowley Confidence Interval for Quantiles of Right-Censored Time-to-Event Data",
      "topics": [
        "survQuantile"
      ]
    },
    {
      "page": "svdcpp",
      "title": "Singular Value Decomposition of a Matrix",
      "topics": [
        "svdcpp"
      ]
    },
    {
      "page": "tobin",
      "title": "Tobin's tobit data from the survival package",
      "topics": [
        "tobin"
      ]
    },
    {
      "page": "updateGraph",
      "title": "Update Graph for Graphical Approaches",
      "topics": [
        "updateGraph"
      ]
    },
    {
      "page": "zph_phregr",
      "title": "Assess Proportional Hazards Assumption Based on Scaled Schoenfeld Residuals",
      "topics": [
        "zph_phregr"
      ]
    },
    {
      "page": "zstatOddsRatio",
      "title": "Miettinen-Nurminen Score Test Statistic for Two-Sample Odds Ratio",
      "topics": [
        "zstatOddsRatio"
      ]
    },
    {
      "page": "zstatRateDiff",
      "title": "Miettinen-Nurminen Score Test Statistic for Two-Sample Rate Difference",
      "topics": [
        "zstatRateDiff"
      ]
    },
    {
      "page": "zstatRateRatio",
      "title": "Miettinen-Nurminen Score Test Statistic for Two-Sample Rate Ratio",
      "topics": [
        "zstatRateRatio"
      ]
    },
    {
      "page": "zstatRiskDiff",
      "title": "Miettinen-Nurminen Score Test Statistic for Two-Sample Risk difference",
      "topics": [
        "zstatRiskDiff"
      ]
    },
    {
      "page": "zstatRiskRatio",
      "title": "Miettinen-Nurminen Score Test Statistic for Two-Sample Risk Ratio",
      "topics": [
        "zstatRiskRatio"
      ]
    }
  ],
  "_pkglogo": "https://github.com/kaifenglu/lrstat/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/kaifenglu/lrstat/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "BH",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "cpp11",
    "digest",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "ggplot2",
    "glue",
    "gtable",
    "htmltools",
    "httpuv",
    "isoband",
    "jquerylib",
    "jsonlite",
    "labeling",
    "later",
    "lifecycle",
    "lpSolve",
    "magrittr",
    "memoise",
    "mime",
    "otel",
    "promises",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppParallel",
    "RcppThread",
    "rlang",
    "S7",
    "sass",
    "scales",
    "shiny",
    "sourcetools",
    "vctrs",
    "viridisLite",
    "withr",
    "xtable"
  ],
  "_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": "direct_approximation_vs_schoenfeld.Rmd",
      "filename": "direct_approximation_vs_schoenfeld.html",
      "title": "Comparing Direct Approximation and Schoenfeld Methods",
      "author": "Kaifeng Lu",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-08-04 22:47:22",
      "modified": "2026-03-03 23:40:24",
      "commits": 6
    },
    {
      "source": "maxcombo.Rmd",
      "filename": "maxcombo.html",
      "title": "Power Calculation Using Max-Combo Tests",
      "author": "Kaifeng Lu",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-07-25 20:47:37",
      "modified": "2026-05-04 03:18:02",
      "commits": 6
    },
    {
      "source": "stratified.Rmd",
      "filename": "stratified.html",
      "title": "Power Calculation With Stratification Variables",
      "author": "Kaifeng Lu",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-07-25 20:47:37",
      "modified": "2026-03-03 23:37:33",
      "commits": 5
    },
    {
      "source": "non-proportional_hazards.Rmd",
      "filename": "non-proportional_hazards.html",
      "title": "Sample Size Calculation Under Non-Proportional Hazards",
      "author": "Kaifeng Lu",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-07-25 20:47:37",
      "modified": "2025-11-30 00:33:11",
      "commits": 8
    },
    {
      "source": "fixed_follow-up.Rmd",
      "filename": "fixed_follow-up.html",
      "title": "Sample Size Calculation With Fixed Follow-up",
      "author": "Kaifeng Lu",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-07-25 20:47:37",
      "modified": "2026-03-03 23:39:55",
      "commits": 7
    },
    {
      "source": "group_sequential_simulation.Rmd",
      "filename": "group_sequential_simulation.html",
      "title": "Simulation for Group Sequential Trials",
      "author": "Kaifeng Lu",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-07-25 20:47:37",
      "modified": "2026-03-03 23:38:12",
      "commits": 5
    }
  ],
  "_score": 7.760422483423213,
  "_indexed": true,
  "_nocasepkg": "lrstat",
  "_universes": [
    "kaifenglu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-06-06T21:19:41.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "9d0a47d0730788e65e481c437bb50c18c2f06fc2",
      "fileid": "381fb2241e31dcb964d70891544c56ffe66323bd54cf5807ce9cc2caf1fd1c02",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/27073880881"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-06-06T21:19:28.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "9d0a47d0730788e65e481c437bb50c18c2f06fc2",
      "fileid": "7ecf78c644c1249d4b59c691e2f2958b1ff8f2ec84c2e900c5f0096a04036af7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/27073880881"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-06-06T21:19:31.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "9d0a47d0730788e65e481c437bb50c18c2f06fc2",
      "fileid": "3fd4aa546fcf32e1ed257656a5c750a2fdbe4017db2125fc41605612a5405763",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/27073880881"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-06-06T21:19:29.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "9d0a47d0730788e65e481c437bb50c18c2f06fc2",
      "fileid": "cf023d8296da77c1f2bff325889a4e06bcf0c4e36e873c08324b7280240b4422",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/27073880881"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-06-06T21:18:49.000Z",
      "arch": "aarch64",
      "commit": "9d0a47d0730788e65e481c437bb50c18c2f06fc2",
      "fileid": "58c54dc34fc691777228debb5b6f99d36a4fa28420a2ddb7a8e1c527687cbb5c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/27073880881"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-06-06T21:19:29.000Z",
      "arch": "x86_64",
      "commit": "9d0a47d0730788e65e481c437bb50c18c2f06fc2",
      "fileid": "d070866be8911852617d58049b42beaac4f5facb13f3128ca7a3b5a56148ed01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/27073880881"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-06-06T21:18:35.000Z",
      "arch": "aarch64",
      "commit": "9d0a47d0730788e65e481c437bb50c18c2f06fc2",
      "fileid": "13b5bf59b534a57971496b4c1983d82666d1044c3d9ca56708e72674c7a36575",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/27073880881"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-06-06T21:20:56.000Z",
      "arch": "x86_64",
      "commit": "9d0a47d0730788e65e481c437bb50c18c2f06fc2",
      "fileid": "e1910e50020ed148dfab51da106f1f76498c4a1b1c480acdc775e6ac81d3d57b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/27073880881"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-06-06T21:18:49.000Z",
      "arch": "x86_64",
      "commit": "9d0a47d0730788e65e481c437bb50c18c2f06fc2",
      "fileid": "ee038d80344190f97d7a4e7e0ab6cd704901177af7612fbda930d1b820a7abdb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/27073880881"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-06-06T21:18:36.000Z",
      "arch": "x86_64",
      "commit": "9d0a47d0730788e65e481c437bb50c18c2f06fc2",
      "fileid": "3466c9432f630550a94fcce594c97ad2b6ea551cbc73131d7233096190ab001f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/27073880881"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-06-06T21:18:41.000Z",
      "arch": "x86_64",
      "commit": "9d0a47d0730788e65e481c437bb50c18c2f06fc2",
      "fileid": "f44bfa68a62745fc28e0babe02a39f9eb62ec9d5087a2fe068e71123330decff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/27073880881"
    }
  ]
}