{
  "_id": "6ac0df4b552a13804ac7d3fa",
  "Package": "PDRobust",
  "Title": "Robust Longitudinal Effects Under Truncation by Death",
  "Version": "0.3.8",
  "Authors@R": "c(\nperson(\ngiven = \"Huan\",\nfamily = \"Wang\",\nemail = \"whhuan42@gmail.com\",\nrole = c(\"aut\", \"cre\")\n),\nperson(\ngiven = \"Yilin\",\nfamily = \"Zhang\",\nrole = \"aut\"\n)\n)",
  "Description": "Implements principal-stratification methods for estimating\ntime-specific and pooled heterogeneous treatment effects in\nlongitudinal studies where outcomes may be truncated by death.\nSupports continuous and binary outcomes, explicit data\nvalidation and standardization, and covariate-dependent\ntreatment effects. Fits propensity-score, principal-score, and\noutcome models and provides subject-level bootstrap inference,\ncovariate-balance diagnostics, principal-stratum summaries,\ntreatment-group-specific survival odds ratios, and\noutcome-noise sensitivity analysis. Methodological background\nis provided in <doi:10.48550/arXiv.2608.06654>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Config/Needs/coverage": "covr",
  "Config/Needs/website": "pkgdown",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "LazyDataCompression": "xz",
  "URL": "https://github.com/whhuan/PD_Robust,\nhttps://whhuan.github.io/PD_Robust/",
  "BugReports": "https://github.com/whhuan/PD_Robust/issues",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://whhuan.r-universe.dev",
  "Date/Publication": "2026-09-22 22:07:36 UTC",
  "RemoteUrl": "https://github.com/whhuan/pd_robust",
  "RemoteRef": "HEAD",
  "RemoteSha": "63613bb35cfcb0bed1ef6dd3689a38e5df9c1b28",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-03 10:51:51 UTC",
    "User": "root"
  },
  "Author": "Huan Wang [aut, cre],\nYilin Zhang [aut]",
  "Maintainer": "Huan Wang <whhuan42@gmail.com>",
  "_user": "whhuan",
  "_type": "src",
  "_file": "PDRobust_0.3.8.tar.gz",
  "_fileid": "https://r2.ropensci.org/5f829465d62aa6ac04fffb2085024e0787c25b8f80039ae28e82ff50af743e3a",
  "_filesize": 1909349,
  "_sha256": "5f829465d62aa6ac04fffb2085024e0787c25b8f80039ae28e82ff50af743e3a",
  "_expires": "2027-01-11T10:56:09.000Z",
  "_created": "2026-10-03T10:51:51.000Z",
  "_published": "2026-10-03T10:56:11.572Z",
  "_jobs": [
    {
      "job": 111187913692,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11271803754"
    },
    {
      "job": 111187913698,
      "time": 116,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11271988334"
    },
    {
      "job": 111187913760,
      "time": 203,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11271778808"
    },
    {
      "job": 111187913714,
      "time": 210,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11271932236"
    },
    {
      "job": 111187386775,
      "time": 201,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11272161876"
    },
    {
      "job": 111187913702,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11271529174"
    },
    {
      "job": 111187913699,
      "time": 105,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11271564023"
    },
    {
      "job": 111187913728,
      "time": 105,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11271474207"
    },
    {
      "job": 111187913750,
      "time": 93,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11272191855"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/whhuan/actions/runs/37117599104",
  "_status": "success",
  "_upstream": "https://github.com/whhuan/pd_robust",
  "_commit": {
    "id": "63613bb35cfcb0bed1ef6dd3689a38e5df9c1b28",
    "author": "whhuan <whhuan42@gmail.com>",
    "committer": "whhuan <whhuan42@gmail.com>",
    "message": "Refine mapping parameter descriptions\n",
    "time": 1790114856
  },
  "_maintainer": {
    "name": "Huan Wang",
    "email": "whhuan42@gmail.com",
    "login": "whhuan",
    "description": "",
    "uuid": 129480702
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "quantreg",
      "role": "Imports"
    },
    {
      "package": "rootSolve",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "ragg",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "whhuan",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-31",
      "n": 8
    },
    {
      "week": "2026-32",
      "n": 4
    },
    {
      "week": "2026-37",
      "n": 12
    },
    {
      "week": "2026-38",
      "n": 4
    },
    {
      "week": "2026-39",
      "n": 3
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "whhuan",
      "count": 31,
      "uuid": 129480702
    }
  ],
  "_userbio": {
    "uuid": 129480702,
    "type": "user",
    "name": "whhuan",
    "followers": 0
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PDRobust"
  },
  "_devurl": "https://github.com/whhuan/pd_robust",
  "_pkgdown": "https://whhuan.github.io/PD_Robust/",
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/PDRobust.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/whhuan/pd_robust",
  "_realowner": "whhuan",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.8",
      "date": "2026-10-02"
    }
  ],
  "_exports": [
    "DataCheck",
    "DataStandard",
    "HTEAllT",
    "HTESepT",
    "Mapping",
    "ORCI",
    "OutPred",
    "PrinPred",
    "PrinSDiag",
    "PSDiag",
    "PSPred",
    "QR",
    "SA"
  ],
  "_datasets": [
    {
      "name": "BiSample",
      "title": "Binary longitudinal example data",
      "object": "BiSample",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "id",
        "time",
        "Pi",
        "S1",
        "S0",
        "S",
        "A",
        "Y1",
        "Y0",
        "Y",
        "X1",
        "X2",
        "X3",
        "X4",
        "X5",
        "X6"
      ],
      "rows": 1200,
      "table": true,
      "tojson": true
    },
    {
      "name": "ImperfectConSample",
      "title": "Imperfect Continuous Longitudinal Example Data",
      "object": "ImperfectConSample",
      "class": [
        "data.frame"
      ],
      "fields": [
        "patient_id",
        "visit_month",
        "alive_status",
        "treatment",
        "clinical_outcome",
        "X1",
        "X2",
        "X3",
        "X4",
        "X5",
        "X6"
      ],
      "rows": 599,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "BiSample",
      "title": "Binary longitudinal example data",
      "topics": [
        "BiSample"
      ]
    },
    {
      "page": "DataCheck",
      "title": "Check whether longitudinal data are ready for analysis",
      "topics": [
        "DataCheck"
      ]
    },
    {
      "page": "DataStandard",
      "title": "Prepare longitudinal data for PDRobust analyses",
      "topics": [
        "DataStandard"
      ]
    },
    {
      "page": "HTEAllT",
      "title": "Joint estimation of heterogeneous treatment effects across time",
      "topics": [
        "HTEAllT"
      ]
    },
    {
      "page": "HTESepT",
      "title": "Separate estimation of heterogeneous treatment effects by time point",
      "topics": [
        "HTESepT"
      ]
    },
    {
      "page": "ImperfectConSample",
      "title": "Imperfect Continuous Longitudinal Example Data",
      "topics": [
        "ImperfectConSample"
      ]
    },
    {
      "page": "Mapping",
      "title": "Identify variables and analysis times for PDRobust",
      "topics": [
        "Mapping"
      ]
    },
    {
      "page": "ORCI",
      "title": "Estimate covariate associations with survival at the cutoff time",
      "topics": [
        "ORCI"
      ]
    },
    {
      "page": "OutPred",
      "title": "Estimate outcome predictions",
      "topics": [
        "OutPred"
      ]
    },
    {
      "page": "PrinPred",
      "title": "Estimate cumulative principal scores",
      "topics": [
        "PrinPred"
      ]
    },
    {
      "page": "PrinSDiag",
      "title": "Evaluate covariate balance for the principal score model",
      "topics": [
        "PrinSDiag"
      ]
    },
    {
      "page": "pd_methods",
      "title": "Print, plot, and subset PDRobust results",
      "topics": [
        "pd_methods",
        "plot.odds_ratios",
        "plot.pd_hte_pooled",
        "plot.pd_hte_timevarying",
        "plot.PrinSDiag",
        "plot.PSDiag",
        "print.odds_ratios",
        "print.pd_data_check",
        "print.pd_hte_pooled",
        "print.pd_hte_timevarying",
        "print.pd_mapping",
        "print.PrinSDiag",
        "print.PSDiag",
        "print.QR",
        "print.SA",
        "[.pd_data"
      ]
    },
    {
      "page": "PSDiag",
      "title": "Evaluate how well a propensity score model performs",
      "topics": [
        "PSDiag"
      ]
    },
    {
      "page": "PSPred",
      "title": "Estimate propensity scores",
      "topics": [
        "PSPred"
      ]
    },
    {
      "page": "QR",
      "title": "Summary statistics of covariates within the always-survivor principal stratum",
      "topics": [
        "QR"
      ]
    },
    {
      "page": "SA",
      "title": "Sensitivity analysis of outcome mean model misspecification",
      "topics": [
        "SA"
      ]
    }
  ],
  "_readme": "https://github.com/whhuan/pd_robust/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "MASS",
    "Matrix",
    "MatrixModels",
    "quantreg",
    "R6",
    "RColorBrewer",
    "rlang",
    "rootSolve",
    "S7",
    "scales",
    "SparseM",
    "survival",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "data-requirements.Rmd",
      "filename": "data-requirements.html",
      "title": "Data requirements and standardization",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Mapping raw columns and times",
        "Validation without modification",
        "Standardization and audit attributes"
      ],
      "created": "2026-07-31 18:42:24",
      "modified": "2026-09-13 02:31:08",
      "commits": 4
    },
    {
      "source": "Functions.Rmd",
      "filename": "Functions.html",
      "title": "Detailed Function Presentation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "PDRobust",
        "1. Load the built-in package data",
        "2. Define roles and analysis settings with Mapping()",
        "3. Validate the raw data with DataCheck()",
        "4. Standardize the panel with DataStandard()",
        "Imperfect dataset",
        "5.1 Prediction functions and Diagnostics",
        "Propensity score model",
        "Principal score model",
        "Outcome model",
        "Principal-stratum profiling with QR()",
        "Treatment-group odds ratios",
        "5.2 Heterogeneous treatment effect"
      ],
      "created": "2026-07-31 18:42:24",
      "modified": "2026-09-13 15:40:50",
      "commits": 9
    },
    {
      "source": "Details-for-Datacheck.Rmd",
      "filename": "Details-for-Datacheck.html",
      "title": "Details for function DataCheck",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Columns in the itemized checks"
      ],
      "created": "2026-08-01 06:13:17",
      "modified": "2026-09-13 02:31:08",
      "commits": 4
    },
    {
      "source": "diagnostics-profiling-sensitivity.Rmd",
      "filename": "diagnostics-profiling-sensitivity.html",
      "title": "Diagnostics, profiling, and sensitivity analysis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Propensity score, covariate balance",
        "Principal score, covariate-specific balance statistic",
        "Outcome-noise sensitivity analysis",
        "Principal-stratum summaries",
        "Treatment-specific survial odds ratios"
      ],
      "created": "2026-08-02 05:31:46",
      "modified": "2026-09-17 20:46:00",
      "commits": 5
    },
    {
      "source": "hte.Rmd",
      "filename": "hte.html",
      "title": "Estimate the heterogeneous treatment effect",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Time-varying heterogeneous treatment effects",
        "Pooled heterogeneous treatment effects"
      ],
      "created": "2026-08-02 05:31:46",
      "modified": "2026-09-13 00:11:23",
      "commits": 3
    },
    {
      "source": "prediction-models.Rmd",
      "filename": "prediction-models.html",
      "title": "Prediction models",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Propensity score model",
        "Principal score model",
        "Outcome prediction model"
      ],
      "created": "2026-07-31 18:42:24",
      "modified": "2026-08-02 05:31:46",
      "commits": 4
    },
    {
      "source": "method-and-coding.Rmd",
      "filename": "method-and-coding.html",
      "title": "Treatment coding and interpretation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Choose treatment coding before analysis",
        "Report the intended effect direction",
        "Interpret the working effect model",
        "Assumptions, numerical safeguards, and scope"
      ],
      "created": "2026-09-13 00:11:23",
      "modified": "2026-09-17 20:46:00",
      "commits": 2
    }
  ],
  "_score": 5.243038048686294,
  "_indexed": true,
  "_nocasepkg": "pdrobust",
  "_universes": [
    "whhuan"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.8",
      "date": "2026-10-03T10:53:49.000Z",
      "distro": "resolute",
      "commit": "63613bb35cfcb0bed1ef6dd3689a38e5df9c1b28",
      "fileid": "https://r2.ropensci.org/b4dd6894c8e01ae6de74886140aa206163e89d187a0f9fc4e873b961a279db57",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/whhuan/actions/runs/37117599104"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.8",
      "date": "2026-10-03T10:53:40.000Z",
      "distro": "resolute",
      "commit": "63613bb35cfcb0bed1ef6dd3689a38e5df9c1b28",
      "fileid": "https://r2.ropensci.org/e7434ac5b5e2c8a61c0266fd351be3f83b0cae929e7be461045a3d801f4e61e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/whhuan/actions/runs/37117599104"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.8",
      "date": "2026-10-03T10:54:33.000Z",
      "commit": "63613bb35cfcb0bed1ef6dd3689a38e5df9c1b28",
      "fileid": "https://r2.ropensci.org/481e98eab81344f63c0902bf1b6db0a5e666a13c309decc3c5df2ac028ee9ec9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/whhuan/actions/runs/37117599104"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.8",
      "date": "2026-10-03T10:54:26.000Z",
      "commit": "63613bb35cfcb0bed1ef6dd3689a38e5df9c1b28",
      "fileid": "https://r2.ropensci.org/15a5fe5a3a8198ef8e3e6dfa946cb3ca9d5cb9f372ce4fc5ef80708d5108ce49",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/whhuan/actions/runs/37117599104"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.8",
      "date": "2026-10-03T10:53:54.000Z",
      "commit": "63613bb35cfcb0bed1ef6dd3689a38e5df9c1b28",
      "fileid": "https://r2.ropensci.org/3804341edaa4a12c03603796ce8e4ebc4d58664e2ff4e258632a9fcbb74db28d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/whhuan/actions/runs/37117599104"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.8",
      "date": "2026-10-03T10:53:03.000Z",
      "commit": "63613bb35cfcb0bed1ef6dd3689a38e5df9c1b28",
      "fileid": "https://r2.ropensci.org/089a2348648313c766694fadbf63c6ee427d44fe70767123e4501e116eee6410",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/whhuan/actions/runs/37117599104"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.8",
      "date": "2026-10-03T10:53:06.000Z",
      "commit": "63613bb35cfcb0bed1ef6dd3689a38e5df9c1b28",
      "fileid": "https://r2.ropensci.org/f63867282f57863c22401b7c998e59a13de437623e68ad8dc138888a39047059",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/whhuan/actions/runs/37117599104"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.8",
      "date": "2026-10-03T10:53:04.000Z",
      "commit": "63613bb35cfcb0bed1ef6dd3689a38e5df9c1b28",
      "fileid": "https://r2.ropensci.org/0d788e89d4fe5d0c47b65b78b6ea6fb455e93ab206abbb90bc77f982565df495",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/whhuan/actions/runs/37117599104"
    }
  ]
}