{
  "_id": "6a1401efacfb0bcc41d385ec",
  "Package": "CausalSpline",
  "Type": "Package",
  "Title": "Nonlinear Causal Dose-Response Estimation via Splines",
  "Version": "0.1.0",
  "Authors@R": "person(\"Subir\", \"Hait\", email = \"haitsubi@msu.edu\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0009-0004-9871-9677\"))",
  "Description": "Estimates nonlinear causal dose-response functions for\ncontinuous treatments using spline-based methods under standard\ncausal assumptions (unconfoundedness / ignorability).\nImplements three identification strategies: Inverse Probability\nWeighting (IPW) via the generalised propensity score (GPS),\nG-computation (outcome regression), and a doubly-robust\ncombination. Natural cubic splines and B-splines are supported\nfor both the exposure-response curve f(T) and the propensity\nnuisance model. Pointwise confidence bands are obtained via the\nsandwich estimator or nonparametric bootstrap. Also provides\nfragility diagnostics including pointwise curvature-based\nfragility, uncertainty-normalised fragility, and regional\nintegration over user-defined treatment intervals. Builds on\nthe framework of Hirano and Imbens (2004)\n<doi:10.1111/j.1468-0262.2004.00481.x> for continuous\ntreatments and extends it to fully nonparametric spline\nestimation.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/causalfragility-lab/CausalSpline",
  "BugReports": "https://github.com/causalfragility-lab/CausalSpline/issues",
  "Repository": "https://causalfragility-lab.r-universe.dev",
  "Date/Publication": "2026-03-21 12:37:42 UTC",
  "RemoteUrl": "https://github.com/causalfragility-lab/causalspline",
  "RemoteRef": "HEAD",
  "RemoteSha": "d3522dc0745e4a886b81b78e63b4ccc262c22da4",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-25 07:58:48 UTC",
    "User": "root"
  },
  "Author": "Subir Hait [aut, cre] (ORCID: <https://orcid.org/0009-0004-9871-9677>)",
  "Maintainer": "Subir Hait <haitsubi@msu.edu>",
  "MD5sum": "0748db4ce87fd64b46bd777c5a7e6eab",
  "_user": "causalfragility-lab",
  "_type": "src",
  "_file": "CausalSpline_0.1.0.tar.gz",
  "_fileid": "e4d9e4619318dfd09c2e2c34f9380fd79a4faf5154c7c1c0749c679443be9a76",
  "_filesize": 818099,
  "_sha256": "e4d9e4619318dfd09c2e2c34f9380fd79a4faf5154c7c1c0749c679443be9a76",
  "_created": "2026-05-25T07:58:48.000Z",
  "_published": "2026-05-25T08:01:51.838Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77677389794,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7194181645"
    },
    {
      "job": 77677389884,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7194177645"
    },
    {
      "job": 77677389853,
      "time": 106,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7194171604"
    },
    {
      "job": 77677389821,
      "time": 112,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7194173630"
    },
    {
      "job": 77676986905,
      "time": 190,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7194144806"
    },
    {
      "job": 77677389780,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7194171951"
    },
    {
      "job": 77677389900,
      "time": 82,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7194165898"
    },
    {
      "job": 77677389906,
      "time": 90,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7194167808"
    },
    {
      "job": 77677389905,
      "time": 87,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7194166756"
    }
  ],
  "_buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26389931595",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/causalfragility-lab/causalspline",
  "_commit": {
    "id": "d3522dc0745e4a886b81b78e63b4ccc262c22da4",
    "author": "Subir Hait <264290991+causalfragility-lab@users.noreply.github.com>",
    "committer": "Subir Hait <264290991+causalfragility-lab@users.noreply.github.com>",
    "message": "Fix: add @return tags to print and summary causal_spline methods for CRAN\n",
    "time": 1774096662
  },
  "_maintainer": {
    "name": "Subir Hait",
    "email": "haitsubi@msu.edu",
    "login": "causalfragility-lab",
    "description": "",
    "uuid": 264290991
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "splines",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "sandwich",
      "role": "Imports"
    },
    {
      "package": "boot",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "cobalt",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    }
  ],
  "_owner": "causalfragility-lab",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-12",
      "n": 9
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-03-17"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "causalfragility-lab",
      "count": 9,
      "uuid": 264290991
    }
  ],
  "_userbio": {
    "uuid": 264290991,
    "type": "user",
    "name": "causalfragility-lab"
  },
  "_downloads": {
    "count": 197,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/CausalSpline"
  },
  "_devurl": "https://github.com/causalfragility-lab/causalspline",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/CausalSpline.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/causalfragility-lab/causalspline",
  "_realowner": "causalfragility-lab",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-03-25"
    }
  ],
  "_exports": [
    "causal_spline",
    "check_overlap",
    "dose_response_curve",
    "fragility_curve",
    "gps_model",
    "gradient_curve",
    "region_fragility",
    "simulate_dose_response",
    "trim_weights"
  ],
  "_help": [
    {
      "page": "CausalSpline-package",
      "title": "CausalSpline: Nonlinear Causal Dose-Response Estimation via Splines",
      "topics": [
        "CausalSpline-package",
        "CausalSpline"
      ]
    },
    {
      "page": "causal_spline",
      "title": "Nonlinear causal dose-response estimation via splines",
      "topics": [
        "causal_spline"
      ]
    },
    {
      "page": "check_overlap",
      "title": "Diagnose positivity / overlap for a continuous treatment",
      "topics": [
        "check_overlap"
      ]
    },
    {
      "page": "dose_response_curve",
      "title": "Extract the dose-response curve data frame",
      "topics": [
        "dose_response_curve"
      ]
    },
    {
      "page": "fragility_curve",
      "title": "Geometric fragility curve for a CausalSpline fit",
      "topics": [
        "fragility_curve"
      ]
    },
    {
      "page": "gps_model",
      "title": "Fit the Generalised Propensity Score model",
      "topics": [
        "gps_model"
      ]
    },
    {
      "page": "gradient_curve",
      "title": "Numerical derivatives of a CausalSpline dose-response curve",
      "topics": [
        "gradient_curve"
      ]
    },
    {
      "page": "plot.causal_spline",
      "title": "Plot the estimated dose-response curve",
      "topics": [
        "plot.causal_spline"
      ]
    },
    {
      "page": "plot.fragility_curve",
      "title": "Plot method for fragility_curve objects",
      "topics": [
        "plot.fragility_curve"
      ]
    },
    {
      "page": "predict.causal_spline",
      "title": "Predict E[Y(t)] at new treatment values",
      "topics": [
        "predict.causal_spline"
      ]
    },
    {
      "page": "print.causal_spline",
      "title": "Print method for causal_spline objects",
      "topics": [
        "print.causal_spline"
      ]
    },
    {
      "page": "region_fragility",
      "title": "Regional fragility summary for a CausalSpline fit",
      "topics": [
        "region_fragility"
      ]
    },
    {
      "page": "simulate_dose_response",
      "title": "Simulate nonlinear dose-response data",
      "topics": [
        "simulate_dose_response"
      ]
    },
    {
      "page": "summary.causal_spline",
      "title": "Summary method for causal_spline objects",
      "topics": [
        "summary.causal_spline"
      ]
    },
    {
      "page": "trim_weights",
      "title": "Trim extreme IPW weights",
      "topics": [
        "trim_weights"
      ]
    }
  ],
  "_readme": "https://github.com/causalfragility-lab/causalspline/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "sandwich",
    "scales",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to CausalSpline: Nonlinear Causal Dose-Response Estimation",
      "author": "Your Name",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Why nonlinear causal effects?",
        "Installation",
        "Quick start",
        "1. Simulate data with a threshold effect",
        "2. Fit with IPW",
        "3. Fit with G-computation",
        "4. Check overlap (positivity)",
        "Comparing DGPs",
        "Choosing degrees of freedom",
        "Methods summary",
        "References"
      ],
      "created": "2026-03-17 13:59:36",
      "modified": "2026-03-17 13:59:36",
      "commits": 1
    }
  ],
  "_score": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "causalspline",
  "_universes": [
    "causalfragility-lab"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-25T08:01:03.000Z",
      "distro": "noble",
      "commit": "d3522dc0745e4a886b81b78e63b4ccc262c22da4",
      "fileid": "b34577b17d379f59fd6b0a3258cc16d363eb753c61f3fba7ff1cc0ddb6040c1a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26389931595"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-25T08:00:50.000Z",
      "distro": "noble",
      "commit": "d3522dc0745e4a886b81b78e63b4ccc262c22da4",
      "fileid": "78b326e69cc87ab6bc46e2e19cc1324d6b557e7cab66fe5b2cb16861fc7d9c1a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26389931595"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-25T08:00:32.000Z",
      "commit": "d3522dc0745e4a886b81b78e63b4ccc262c22da4",
      "fileid": "6775d5a8e3b548e59e8497edc24939c8cde046347c02f327d31800523b3c4cf6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26389931595"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-25T08:00:42.000Z",
      "commit": "d3522dc0745e4a886b81b78e63b4ccc262c22da4",
      "fileid": "d31cf5b8556537892dbbea66ca4c570ceea94a8163c76a7d684ade99b748cee8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26389931595"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-05-25T08:00:54.000Z",
      "commit": "d3522dc0745e4a886b81b78e63b4ccc262c22da4",
      "fileid": "00e79782cd52d9dd62a593a72ee18bb44c28223befee586762a91d17a91725d3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26389931595"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-25T07:59:59.000Z",
      "commit": "d3522dc0745e4a886b81b78e63b4ccc262c22da4",
      "fileid": "a91a2af449e17168b07c02a89c4c23a145dec486d7b94f61b65dd5ef04e0af16",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26389931595"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-25T08:00:04.000Z",
      "commit": "d3522dc0745e4a886b81b78e63b4ccc262c22da4",
      "fileid": "9043ff01faa0f4622b7c1099326d9e696755b575e51b96bda5599e2f6a591b2d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26389931595"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-25T08:00:03.000Z",
      "commit": "d3522dc0745e4a886b81b78e63b4ccc262c22da4",
      "fileid": "e4d9f6c62a331531542de11ab5cd5272398bc880ffc398ac609f8ad89a63fcdd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26389931595"
    }
  ]
}