{
  "_id": "6a22b8390ef520ea2f5900b8",
  "Package": "bdlnm",
  "Title": "Bayesian Distributed Lag Non-Linear Models (B-DLNM)",
  "Version": "0.1.0.9000",
  "Authors@R": "c(\nperson(given = \"Pau\", family = \"Satorra\", email = \"psatorra@igtp.cat\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-8144-4089\")),\nperson(given = \"Marcos\", family = \"Quijal-Zamorano\", email = \"marcos.quijal@isglobal.org\", role = c(\"aut\")),\nperson(given = \"Joan\", family = \"Ballester\", email = \"joan.ballester@isglobal.org\", role = c(\"aut\")),\nperson(given = \"Cristian\", family = \"Tebé\", email = \"ctebe@igtp.cat\", role = c(\"ctb\")),\nperson(given = \"Miguel A.\", family = \"Martínez-Beneito\", email = \"miguel.a.martinez@uv.es\", role = c(\"aut\", \"ths\")),\nperson(given = \"Marc\", family = \"Marí-Dell'Olmo\", email = \"mmari@aspb.cat\", role = c(\"aut\", \"ths\"))\n)",
  "Description": "A Bayesian framework for estimating distributed lag linear\nand non-linear models. Model fitting is implemented using\nIntegrated Nested Laplace Approximation (R package 'INLA'),\ntogether with prediction and visualization of\nexposure-lag-response associations. Additional functions allow\nestimation of optimal exposure values (e.g., minimum mortality\ntemperature) and computation of attributable fractions and\nnumbers. Models with 'crossbasis' or 'onebasis' terms are\nsupported (R package 'dlnm').",
  "License": "GPL (>= 3)",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/pasahe/bdlnm, https://pasahe.github.io/bdlnm/",
  "BugReports": "https://github.com/pasahe/bdlnm/issues",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Additional_repositories": "https://inla.r-inla-download.org/R/stable",
  "Config/Needs/website": "rmarkdown",
  "Repository": "https://pasahe.r-universe.dev",
  "Date/Publication": "2026-06-05 11:24:34 UTC",
  "RemoteUrl": "https://github.com/pasahe/bdlnm",
  "RemoteRef": "HEAD",
  "RemoteSha": "8efdd586e6e601b7f3822f66ba3778c0700511cf",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-05 11:44:10 UTC",
    "User": "root"
  },
  "Author": "Pau Satorra [aut, cre] (ORCID: <https://orcid.org/0000-0002-8144-4089>),\nMarcos Quijal-Zamorano [aut],\nJoan Ballester [aut],\nCristian Tebé [ctb],\nMiguel A. Martínez-Beneito [aut, ths],\nMarc Marí-Dell'Olmo [aut, ths]",
  "Maintainer": "Pau Satorra <psatorra@igtp.cat>",
  "MD5sum": "e942826411de46636e6865cc2d814710",
  "_user": "pasahe",
  "_type": "src",
  "_file": "bdlnm_0.1.0.9000.tar.gz",
  "_fileid": "4058ddcce23ca6309c4885d75f22f4e08218048a6f62ae24d53bc3efd00a5e7d",
  "_filesize": 835907,
  "_sha256": "4058ddcce23ca6309c4885d75f22f4e08218048a6f62ae24d53bc3efd00a5e7d",
  "_created": "2026-06-05T11:44:10.000Z",
  "_published": "2026-06-05T11:51:21.710Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79720648848,
      "time": 316,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7435795664"
    },
    {
      "job": 79720648863,
      "time": 296,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7435790208"
    },
    {
      "job": 79720648781,
      "time": 342,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7435799135"
    },
    {
      "job": 79720648916,
      "time": 340,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7435810469"
    },
    {
      "job": 79720050596,
      "time": 243,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7435704667"
    },
    {
      "job": 79720648775,
      "time": 131,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7435743440"
    },
    {
      "job": 79720648900,
      "time": 323,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7435797332"
    },
    {
      "job": 79720648850,
      "time": 352,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7435806016"
    },
    {
      "job": 79720648837,
      "time": 356,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7435807078"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pasahe/actions/runs/27012717735",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/pasahe/bdlnm",
  "_commit": {
    "id": "8efdd586e6e601b7f3822f66ba3778c0700511cf",
    "author": "psatorra <pau.satorra@gmail.com>",
    "committer": "psatorra <pau.satorra@gmail.com>",
    "message": "fixed error in example\n",
    "time": 1780658674
  },
  "_maintainer": {
    "name": "Pau Satorra",
    "email": "psatorra@igtp.cat",
    "orcid": "0000-0002-8144-4089"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.4",
      "role": "Depends"
    },
    {
      "package": "dlnm",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "tsModel",
      "role": "Imports"
    },
    {
      "package": "crs",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "INLA",
      "version": ">= 23.4.24",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "sn",
      "role": "Suggests"
    },
    {
      "package": "splines",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "lubridate",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    }
  ],
  "_owner": "pasahe",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-24",
      "n": 5
    },
    {
      "week": "2025-25",
      "n": 1
    },
    {
      "week": "2025-26",
      "n": 12
    },
    {
      "week": "2025-28",
      "n": 1
    },
    {
      "week": "2025-37",
      "n": 1
    },
    {
      "week": "2025-44",
      "n": 2
    },
    {
      "week": "2025-46",
      "n": 5
    },
    {
      "week": "2025-47",
      "n": 12
    },
    {
      "week": "2025-48",
      "n": 3
    },
    {
      "week": "2025-51",
      "n": 5
    },
    {
      "week": "2026-01",
      "n": 3
    },
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 10
    },
    {
      "week": "2026-06",
      "n": 2
    },
    {
      "week": "2026-10",
      "n": 10
    },
    {
      "week": "2026-11",
      "n": 1
    },
    {
      "week": "2026-16",
      "n": 3
    },
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-23",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "pasahe",
      "count": 87,
      "uuid": 37337655
    },
    {
      "user": "marcosqz",
      "count": 5,
      "uuid": 79831481
    }
  ],
  "_userbio": {
    "uuid": 37337655,
    "type": "user",
    "name": "Pau Satorra",
    "description": "Member of BRUI-IGTP (https://github.com/bruigtp)"
  },
  "_downloads": {
    "count": 522,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bdlnm"
  },
  "_devurl": "https://github.com/pasahe/bdlnm",
  "_pkgdown": "https://pasahe.github.io/bdlnm/",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bdlnm.html",
    "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",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/pasahe/bdlnm",
  "_realowner": "pasahe",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-03-18"
    }
  ],
  "_exports": [
    "attributable",
    "bcrosspred",
    "bdlnm",
    "check_inla",
    "optimal_exposure"
  ],
  "_datasets": [
    {
      "name": "london",
      "title": "London temperature and mortality data",
      "object": "london",
      "class": [
        "data.frame"
      ],
      "fields": [
        "date",
        "year",
        "dow",
        "tmean",
        "mort_00_74",
        "mort_75plus",
        "mort"
      ],
      "rows": 4383,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "attributable",
      "title": "Calculate attributable number and fractions from a Bayesian distributed-lag model (B-DLNM).",
      "topics": [
        "attributable"
      ]
    },
    {
      "page": "bcrosspred",
      "title": "Predict exposure-lag-response effects from a Bayesian distributed-lag model (B-DLNM).",
      "topics": [
        "bcrosspred"
      ]
    },
    {
      "page": "bdlnm",
      "title": "Fit a Bayesian distributed lag non-linear model (B-DLNM)",
      "topics": [
        "bdlnm"
      ]
    },
    {
      "page": "london",
      "title": "London temperature and mortality data",
      "topics": [
        "london"
      ]
    },
    {
      "page": "optimal_exposure",
      "title": "Calculate the exposure value that minimizes or maximizes the overall cumulative effect of a Bayesian distributed lag non-linear model (B-DLNM)",
      "topics": [
        "optimal_exposure"
      ]
    },
    {
      "page": "plot.bcrosspred",
      "title": "Plot the predicted effects from a Bayesian distributed-lag model (B-DLNM).",
      "topics": [
        "plot.bcrosspred"
      ]
    },
    {
      "page": "plot.optimal_exposure",
      "title": "Plot posterior distribution of optimal effect exposure values",
      "topics": [
        "plot.optimal_exposure"
      ]
    }
  ],
  "_readme": "https://github.com/pasahe/bdlnm/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "cli",
    "crs",
    "dlnm",
    "lattice",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "nlme",
    "quantreg",
    "SparseM",
    "survival",
    "tsModel"
  ],
  "_vignettes": [
    {
      "source": "bdlnm.Rmd",
      "filename": "bdlnm.html",
      "title": "bdlnm",
      "engine": "knitr::rmarkdown",
      "headings": [
        "london dataset",
        "Set DLNM parameters",
        "Fit the model and posterior samples",
        "Minimum mortality temperature",
        "Predict exposure-lag-response effects",
        "Plot"
      ],
      "created": "2025-06-13 15:10:26",
      "modified": "2026-04-16 15:49:56",
      "commits": 17
    }
  ],
  "_score": 5.477121254719663,
  "_indexed": true,
  "_nocasepkg": "bdlnm",
  "_universes": [
    "pasahe"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-06-05T11:46:36.000Z",
      "distro": "noble",
      "commit": "8efdd586e6e601b7f3822f66ba3778c0700511cf",
      "fileid": "8e1780d7c6a01ce278d41dd1940c223ca8326cf59bed3776b8412abee9a4a12d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pasahe/actions/runs/27012717735"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-06-05T11:46:35.000Z",
      "distro": "noble",
      "commit": "8efdd586e6e601b7f3822f66ba3778c0700511cf",
      "fileid": "e588dd12edfba9a9b7ca99fb1cbb86c83cbc76b2b25240e8683b74e777204a8b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pasahe/actions/runs/27012717735"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-06-05T11:46:56.000Z",
      "commit": "8efdd586e6e601b7f3822f66ba3778c0700511cf",
      "fileid": "e945da0e61f748ddf9bd5d0bdc1efe5a56fd169eb18c10944bdae7950ed3b39b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pasahe/actions/runs/27012717735"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-06-05T11:47:21.000Z",
      "commit": "8efdd586e6e601b7f3822f66ba3778c0700511cf",
      "fileid": "ef902eb19e980ea5b39affae8ae4de07b035862f509a28965fa53f9fcb216adb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pasahe/actions/runs/27012717735"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.9000",
      "date": "2026-06-05T11:46:39.000Z",
      "commit": "8efdd586e6e601b7f3822f66ba3778c0700511cf",
      "fileid": "6036aad8f4146ee0807ad7753a9dc8321660828bdb10a317b7cecf4a20a3d96c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pasahe/actions/runs/27012717735"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-06-05T11:45:40.000Z",
      "commit": "8efdd586e6e601b7f3822f66ba3778c0700511cf",
      "fileid": "9ede52c50d1345dcab7cd1be98c0b758c2955318f61e44fc77ada1ee0e97c9f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pasahe/actions/runs/27012717735"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-06-05T11:45:50.000Z",
      "commit": "8efdd586e6e601b7f3822f66ba3778c0700511cf",
      "fileid": "fa74a0dff8b0ddd3aca1aaed625b512ea3d3ac30b675848d9b9d5ba7909a04a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pasahe/actions/runs/27012717735"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-06-05T11:45:38.000Z",
      "commit": "8efdd586e6e601b7f3822f66ba3778c0700511cf",
      "fileid": "714896782de205a9976e68356977c934311979c8d5d76c114c3129951aae96a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pasahe/actions/runs/27012717735"
    }
  ]
}