{
  "_id": "6a21b1cacd65a98ecbd39e8a",
  "Package": "trtswitch",
  "Type": "Package",
  "Title": "Treatment Switching",
  "Version": "0.2.7",
  "Authors@R": "person(\"Kaifeng\", \"Lu\", , \"kaifenglu@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-6160-7119\"))",
  "Description": "Implements rank preserving structural failure time model\n(RPSFTM), iterative parameter estimation (IPE), inverse\nprobability of censoring weights (IPCW), marginal structural\nmodel (MSM), simple two-stage estimation (TSEsimp), and\nimproved two-stage estimation with g-estimation (TSEgest)\nmethods for treatment switching in randomized clinical trials.",
  "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/trtswitch/,\nhttps://github.com/kaifenglu/trtswitch",
  "BugReports": "https://github.com/kaifenglu/trtswitch/issues",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "make",
  "Repository": "https://kaifenglu.r-universe.dev",
  "Date/Publication": "2026-06-04 15:47:16 UTC",
  "RemoteUrl": "https://github.com/kaifenglu/trtswitch",
  "RemoteRef": "HEAD",
  "RemoteSha": "bf56fb8470756bf207db8f8b6380267c38927f74",
  "Packaged": {
    "Date": "2026-06-04 16:59:59 UTC",
    "User": "root"
  },
  "Author": "Kaifeng Lu [aut, cre] (ORCID: <https://orcid.org/0000-0002-6160-7119>)",
  "Maintainer": "Kaifeng Lu <kaifenglu@gmail.com>",
  "MD5sum": "7b549e915c2467c346aff0736b23a42a",
  "_user": "kaifenglu",
  "_type": "src",
  "_file": "trtswitch_0.2.7.tar.gz",
  "_fileid": "81c21ae9b7d8d5f6a88dcc67e7bd166396444cb14eac0c0ebb6f9bffb1cc6e70",
  "_filesize": 1381229,
  "_sha256": "81c21ae9b7d8d5f6a88dcc67e7bd166396444cb14eac0c0ebb6f9bffb1cc6e70",
  "_created": "2026-06-04T16:59:59.000Z",
  "_published": "2026-06-04T17:11:38.137Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79571868617,
      "time": 328,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7417988968"
    },
    {
      "job": 79571868629,
      "time": 325,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7417986714"
    },
    {
      "job": 79571868593,
      "time": 326,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7417988110"
    },
    {
      "job": 79571868633,
      "time": 316,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7417983363"
    },
    {
      "job": 79571868650,
      "time": 280,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7418001368"
    },
    {
      "job": 79571868619,
      "time": 340,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7418030563"
    },
    {
      "job": 79571868679,
      "time": 218,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7418044348"
    },
    {
      "job": 79571868602,
      "time": 366,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7418070139"
    },
    {
      "job": 79570415726,
      "time": 476,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7417861211"
    },
    {
      "job": 79571868588,
      "time": 158,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79571868587,
      "time": 436,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7418029078"
    },
    {
      "job": 79571868748,
      "time": 496,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7418055679"
    },
    {
      "job": 79571868701,
      "time": 491,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7418053993"
    }
  ],
  "_buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/26966494757",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/kaifenglu/trtswitch",
  "_commit": {
    "id": "bf56fb8470756bf207db8f8b6380267c38927f74",
    "author": "Kaifeng Lu <kaifenglu@gmail.com>",
    "committer": "Kaifeng Lu <kaifenglu@gmail.com>",
    "message": "take care of duplicate id in df when merge_append\n",
    "time": 1780588036
  },
  "_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",
      "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": "data.table",
      "version": ">= 1.14.10",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.3.6",
      "role": "Imports"
    },
    {
      "package": "cowplot",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.4",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "version": ">= 1.3.1",
      "role": "Suggests"
    },
    {
      "package": "survival",
      "version": ">= 3.5-7",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "version": ">= 1.45",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "version": ">= 2.25",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "version": ">= 2.2.0",
      "role": "Suggests"
    }
  ],
  "_owner": "kaifenglu",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-23",
      "n": 39
    },
    {
      "week": "2025-24",
      "n": 7
    },
    {
      "week": "2025-25",
      "n": 13
    },
    {
      "week": "2025-26",
      "n": 19
    },
    {
      "week": "2025-28",
      "n": 6
    },
    {
      "week": "2025-32",
      "n": 18
    },
    {
      "week": "2025-36",
      "n": 1
    },
    {
      "week": "2025-38",
      "n": 26
    },
    {
      "week": "2025-39",
      "n": 21
    },
    {
      "week": "2025-40",
      "n": 18
    },
    {
      "week": "2025-45",
      "n": 56
    },
    {
      "week": "2025-46",
      "n": 61
    },
    {
      "week": "2025-47",
      "n": 10
    },
    {
      "week": "2025-50",
      "n": 26
    },
    {
      "week": "2025-51",
      "n": 8
    },
    {
      "week": "2025-52",
      "n": 14
    },
    {
      "week": "2026-01",
      "n": 14
    },
    {
      "week": "2026-02",
      "n": 55
    },
    {
      "week": "2026-03",
      "n": 8
    },
    {
      "week": "2026-06",
      "n": 20
    },
    {
      "week": "2026-07",
      "n": 5
    },
    {
      "week": "2026-11",
      "n": 12
    },
    {
      "week": "2026-21",
      "n": 12
    },
    {
      "week": "2026-22",
      "n": 6
    },
    {
      "week": "2026-23",
      "n": 25
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "kaifenglu",
      "count": 615,
      "uuid": 95114218
    }
  ],
  "_userbio": {
    "uuid": 95114218,
    "type": "user",
    "name": "kaifenglu"
  },
  "_downloads": {
    "count": 619,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/trtswitch"
  },
  "_devurl": "https://github.com/kaifenglu/trtswitch",
  "_pkgdown": "https://kaifenglu.github.io/trtswitch/",
  "_searchresults": 35,
  "_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/trtswitch.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/kaifenglu/trtswitch",
  "_realowner": "kaifenglu",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2024-10-17"
    },
    {
      "version": "0.1.1",
      "date": "2024-11-02"
    },
    {
      "version": "0.1.2",
      "date": "2024-12-05"
    },
    {
      "version": "0.1.3",
      "date": "2025-02-06"
    },
    {
      "version": "0.1.4",
      "date": "2025-03-22"
    },
    {
      "version": "0.1.5",
      "date": "2025-04-24"
    },
    {
      "version": "0.1.6",
      "date": "2025-04-25"
    },
    {
      "version": "0.1.7",
      "date": "2025-06-05"
    },
    {
      "version": "0.1.8",
      "date": "2025-07-12"
    },
    {
      "version": "0.1.9",
      "date": "2025-09-03"
    },
    {
      "version": "0.2.0",
      "date": "2025-10-06"
    },
    {
      "version": "0.2.1",
      "date": "2025-11-06"
    },
    {
      "version": "0.2.2",
      "date": "2025-11-16"
    },
    {
      "version": "0.2.3",
      "date": "2026-01-10"
    },
    {
      "version": "0.2.4",
      "date": "2026-02-16"
    },
    {
      "version": "0.2.5",
      "date": "2026-03-13"
    },
    {
      "version": "0.2.6",
      "date": "2026-05-26"
    }
  ],
  "_exports": [
    "assess_phregr",
    "ipcw",
    "ipe",
    "kmdiff",
    "kmest",
    "liferegr",
    "logisregr",
    "lrtest",
    "msm",
    "phregr",
    "preptdc",
    "recensor_sim_rpsftm",
    "residuals_liferegr",
    "residuals_phregr",
    "rmdiff",
    "rmest",
    "rpsftm",
    "survfit_phregr",
    "survQuantile",
    "survsplit",
    "tsegest",
    "tsegestsim",
    "tsesimp",
    "tssim",
    "zph_phregr"
  ],
  "_datasets": [
    {
      "name": "adsl",
      "title": "Baseline subject-level data",
      "object": "adsl",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "SUBJID",
        "SEX",
        "STRAT1V",
        "STRAT2V",
        "RANDDT",
        "TRT01P",
        "TRTSDT",
        "PDDT",
        "XODT",
        "OSDT",
        "DIED",
        "DCUTDT"
      ],
      "rows": 412,
      "table": true,
      "tojson": true
    },
    {
      "name": "adtdc",
      "title": "Longitudinal time-dependent covariate data",
      "object": "adtdc",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "SUBJID",
        "PARAMCD",
        "ADT",
        "AVAL"
      ],
      "rows": 9813,
      "table": true,
      "tojson": true
    },
    {
      "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": "trtswitch-package",
      "title": "Treatment Switching",
      "topics": [
        "trtswitch-package"
      ]
    },
    {
      "page": "adsl",
      "title": "Baseline subject-level data",
      "topics": [
        "adsl"
      ]
    },
    {
      "page": "adtdc",
      "title": "Longitudinal time-dependent covariate data",
      "topics": [
        "adtdc"
      ]
    },
    {
      "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": "heart",
      "title": "Stanford heart transplant data from the survival package",
      "topics": [
        "heart"
      ]
    },
    {
      "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": "ipcw",
      "title": "Inverse Probability of Censoring Weights (IPCW) for Treatment Switching",
      "topics": [
        "ipcw"
      ]
    },
    {
      "page": "ipe",
      "title": "Iterative Parameter Estimation (IPE) for Treatment Switching",
      "topics": [
        "ipe"
      ]
    },
    {
      "page": "kmdiff",
      "title": "Estimate of Milestone Survival Difference",
      "topics": [
        "kmdiff"
      ]
    },
    {
      "page": "kmest",
      "title": "Kaplan-Meier Estimates of Survival Curve",
      "topics": [
        "kmest"
      ]
    },
    {
      "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": "lrtest",
      "title": "Log-Rank Test of Survival Curve Difference",
      "topics": [
        "lrtest"
      ]
    },
    {
      "page": "msm",
      "title": "Marginal Structural Model (MSM) for Treatment Switching",
      "topics": [
        "msm"
      ]
    },
    {
      "page": "phregr",
      "title": "Proportional Hazards Regression Models",
      "topics": [
        "phregr"
      ]
    },
    {
      "page": "preptdc",
      "title": "Prepare Survival Data With Time-Dependent Covariates",
      "topics": [
        "preptdc"
      ]
    },
    {
      "page": "rawdata",
      "title": "A simulated time-to-event data set with 10 replications",
      "topics": [
        "rawdata"
      ]
    },
    {
      "page": "recensor_sim_rpsftm",
      "title": "Simulation Study to Evaluate Recensoring Rules in RPSFTM",
      "topics": [
        "recensor_sim_rpsftm"
      ]
    },
    {
      "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": "rmdiff",
      "title": "Estimate of Restricted Mean Survival Time Difference",
      "topics": [
        "rmdiff"
      ]
    },
    {
      "page": "rmest",
      "title": "Estimate of Restricted Mean Survival Time",
      "topics": [
        "rmest"
      ]
    },
    {
      "page": "rpsftm",
      "title": "Rank Preserving Structural Failure Time Model (RPSFTM) for Treatment Switching",
      "topics": [
        "rpsftm"
      ]
    },
    {
      "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": "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": "tobin",
      "title": "Tobin's tobit data from the survival package",
      "topics": [
        "tobin"
      ]
    },
    {
      "page": "tsegest",
      "title": "Two-Stage Estimation with g-Estimation (TSEgest) for Treatment Switching",
      "topics": [
        "tsegest"
      ]
    },
    {
      "page": "tsegestsim",
      "title": "Simulate Survival Data for Two-Stage Estimation with g-estimation",
      "topics": [
        "tsegestsim"
      ]
    },
    {
      "page": "tsesimp",
      "title": "Simple Two-Stage Estimation (TSEsimp) for Treatment Switching",
      "topics": [
        "tsesimp"
      ]
    },
    {
      "page": "tssim",
      "title": "Simulate Data for Treatment Switching",
      "topics": [
        "tssim"
      ]
    },
    {
      "page": "zph_phregr",
      "title": "Assess Proportional Hazards Assumption Based on Scaled Schoenfeld Residuals",
      "topics": [
        "zph_phregr"
      ]
    }
  ],
  "_pkglogo": "https://github.com/kaifenglu/trtswitch/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/kaifenglu/trtswitch/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "cli",
    "cowplot",
    "cpp11",
    "data.table",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppParallel",
    "RcppThread",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_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": "ipcw.Rmd",
      "filename": "ipcw.html",
      "title": "Inverse Probability of Censoring Weights",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Estimation of weights",
        "Pooled Logistic Regression Model",
        "Proportional Hazards Model",
        "Stabilized Weights",
        "Truncation of Weights",
        "Estimation of Hazard Ratio",
        "Example for Pooled Logistic Regression Switching Model",
        "Example for Time-Dependent Cox Switching Model"
      ],
      "created": "2024-10-30 12:32:19",
      "modified": "2026-01-07 19:02:28",
      "commits": 11
    },
    {
      "source": "ipe.Rmd",
      "filename": "ipe.html",
      "title": "Iterative Parameter Estimation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Estimation of $\\psi$",
        "Estimation of Hazard Ratio",
        "Concorde Trial Example",
        "Potential Convergence Issues"
      ],
      "created": "2024-10-30 12:32:19",
      "modified": "2026-01-09 23:44:41",
      "commits": 9
    },
    {
      "source": "msm.Rmd",
      "filename": "msm.html",
      "title": "Marginal Structural Model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Estimation of weights",
        "Stabilized Weights",
        "Truncation of Weights",
        "Estimation of Hazard Ratio",
        "Example for Pooled Logistic Regression Switching Model"
      ],
      "created": "2025-06-26 18:10:09",
      "modified": "2026-01-07 19:02:28",
      "commits": 8
    },
    {
      "source": "rpsftm.Rmd",
      "filename": "rpsftm.html",
      "title": "Rank Preserving Structural Failure Time Models",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Recensoring",
        "Common Treatment Effect Assumption",
        "Estimation of $\\psi$",
        "Estimation of Hazard Ratio",
        "Concorde Trial Example",
        "Data",
        "Analysis"
      ],
      "created": "2024-10-30 12:32:19",
      "modified": "2026-01-09 23:44:41",
      "commits": 8
    },
    {
      "source": "tsesimp.Rmd",
      "filename": "tsesimp.html",
      "title": "Simple Two-Stage Estimation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Estimation of $\\psi$",
        "Estimation of Hazard Ratio",
        "Example"
      ],
      "created": "2024-10-30 12:32:19",
      "modified": "2026-01-09 23:44:41",
      "commits": 6
    },
    {
      "source": "tsegest.Rmd",
      "filename": "tsegest.html",
      "title": "Two-Stage Estimation With g-estimation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Estimation of $\\psi$",
        "Key Components",
        "Estimation of Hazard Ratio",
        "Example"
      ],
      "created": "2024-10-30 12:32:19",
      "modified": "2026-01-07 19:02:28",
      "commits": 12
    }
  ],
  "_score": 6.720159303405957,
  "_indexed": true,
  "_nocasepkg": "trtswitch",
  "_universes": [
    "kaifenglu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.7",
      "date": "2026-06-04T17:04:48.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "bf56fb8470756bf207db8f8b6380267c38927f74",
      "fileid": "9134a2b23b77576eb7660ba3639cb3351f8420809098e4db4406aa3352f9ca7a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/26966494757"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.7",
      "date": "2026-06-04T17:04:53.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "bf56fb8470756bf207db8f8b6380267c38927f74",
      "fileid": "caf17e0303bd40a21a3e34556df85242d8fff20f08cb7b3f79a251c416c30d3f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/26966494757"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.7",
      "date": "2026-06-04T17:04:48.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "bf56fb8470756bf207db8f8b6380267c38927f74",
      "fileid": "deeba0638f7be1dfde1bad863720a9b7a72e5f8738972bdf90daeb8f7707fab0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/26966494757"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.7",
      "date": "2026-06-04T17:04:49.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "bf56fb8470756bf207db8f8b6380267c38927f74",
      "fileid": "0d6f2280cfd3374e6638880ad0b4074ad0c32047b4360c0c4dde0503e808dfc2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/26966494757"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.7",
      "date": "2026-06-04T17:05:46.000Z",
      "arch": "aarch64",
      "commit": "bf56fb8470756bf207db8f8b6380267c38927f74",
      "fileid": "4cf373ef4d9d4323b2d6caa5a2f1d46913d5010496bb6e108fd968f55be1bf61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/26966494757"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.7",
      "date": "2026-06-04T17:06:23.000Z",
      "arch": "x86_64",
      "commit": "bf56fb8470756bf207db8f8b6380267c38927f74",
      "fileid": "8cc10fbad4a01674958bbdbd5aabfc5846c04478a4748e70bbfd21a1b3e19dde",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/26966494757"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.7",
      "date": "2026-06-04T17:08:10.000Z",
      "arch": "aarch64",
      "commit": "bf56fb8470756bf207db8f8b6380267c38927f74",
      "fileid": "36be9b07f7132bc575de797c59310f2d37c1630b314cf6e2358231918cd6f766",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/26966494757"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.7",
      "date": "2026-06-04T17:07:42.000Z",
      "arch": "x86_64",
      "commit": "bf56fb8470756bf207db8f8b6380267c38927f74",
      "fileid": "05c206d421106e42967706715303d8e9e8265dd1bda18476e89febf3400cf11b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/26966494757"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.7",
      "date": "2026-06-04T17:04:39.000Z",
      "arch": "x86_64",
      "commit": "bf56fb8470756bf207db8f8b6380267c38927f74",
      "fileid": "d589daafac434ca89c64dd154729610b86ab79eda6fc2babe5cb8bbeba578289",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/26966494757"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.7",
      "date": "2026-06-04T17:03:48.000Z",
      "arch": "x86_64",
      "commit": "bf56fb8470756bf207db8f8b6380267c38927f74",
      "fileid": "ce99bcc380d3bcb22f4ac1d7ada93f2149d2bb02eb23de2c887b49cbed3e4af1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/26966494757"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.7",
      "date": "2026-06-04T17:05:27.000Z",
      "arch": "x86_64",
      "commit": "bf56fb8470756bf207db8f8b6380267c38927f74",
      "fileid": "18889d17a24868cac1c7cfaab6dcf3262f164ee49db2683421447c7b63847c89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kaifenglu/actions/runs/26966494757"
    }
  ]
}