{
  "_id": "6ac22496773a0037682c29bb",
  "Package": "bdlnm",
  "Title": "Bayesian Distributed Lag Non-Linear Models (B-DLNM)",
  "Version": "0.1.1.9001",
  "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)",
  "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",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://pasahe.r-universe.dev",
  "Date/Publication": "2026-08-05 10:13:19 UTC",
  "RemoteUrl": "https://github.com/pasahe/bdlnm",
  "RemoteRef": "HEAD",
  "RemoteSha": "8c1b24dac95ab3e70948532723f301c0eae2250a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-04 09:55:31 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>",
  "_user": "pasahe",
  "_type": "src",
  "_file": "bdlnm_0.1.1.9001.tar.gz",
  "_fileid": "https://r2.ropensci.org/f9087fcfd47afad1073c144110f31154b93ad1e375fa5088d3eff9b1f7386f26",
  "_filesize": 884136,
  "_sha256": "f9087fcfd47afad1073c144110f31154b93ad1e375fa5088d3eff9b1f7386f26",
  "_expires": "2027-01-12T10:04:04.000Z",
  "_created": "2026-10-04T09:55:31.000Z",
  "_published": "2026-10-04T10:04:06.338Z",
  "_jobs": [
    {
      "job": 111411076664,
      "time": 324,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11300306873"
    },
    {
      "job": 111411076670,
      "time": 277,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11299474395"
    },
    {
      "job": 111411076657,
      "time": 167,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11300410380"
    },
    {
      "job": 111411076728,
      "time": 471,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11300272384"
    },
    {
      "job": 111410538682,
      "time": 204,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11300356177"
    },
    {
      "job": 111411076630,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11300032389"
    },
    {
      "job": 111411076702,
      "time": 252,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11299674172"
    },
    {
      "job": 111411076717,
      "time": 272,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11300047722"
    },
    {
      "job": 111411076672,
      "time": 384,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11300023053"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/pasahe/actions/runs/37193513731",
  "_status": "success",
  "_upstream": "https://github.com/pasahe/bdlnm",
  "_commit": {
    "id": "8c1b24dac95ab3e70948532723f301c0eae2250a",
    "author": "psatorra <pau.satorra@gmail.com>",
    "committer": "psatorra <pau.satorra@gmail.com>",
    "message": "remove macos CI\n",
    "time": 1785924799
  },
  "_maintainer": {
    "name": "Pau Satorra",
    "email": "psatorra@igtp.cat",
    "orcid": "0000-0002-8144-4089"
  },
  "_distro": "resolute",
  "_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-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
    },
    {
      "week": "2026-24",
      "n": 2
    },
    {
      "week": "2026-25",
      "n": 3
    },
    {
      "week": "2026-26",
      "n": 5
    },
    {
      "week": "2026-27",
      "n": 3
    },
    {
      "week": "2026-32",
      "n": 3
    }
  ],
  "_tags": [],
  "_stars": 5,
  "_contributors": [
    {
      "user": "pasahe",
      "count": 103,
      "uuid": 37337655
    },
    {
      "user": "marcosqz",
      "count": 5,
      "uuid": 79831481
    }
  ],
  "_userbio": {
    "uuid": 37337655,
    "type": "user",
    "name": "Pau Satorra",
    "followers": 7,
    "description": "Member of BRUI-IGTP (https://github.com/bruigtp)"
  },
  "_downloads": {
    "count": 419,
    "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.1",
  "_assets": [
    "extra/bdlnm.html",
    "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/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/pasahe/bdlnm",
  "_realowner": "pasahe",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-03-18"
    },
    {
      "version": "0.1.1",
      "date": "2026-06-19"
    }
  ],
  "_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"
      ]
    }
  ],
  "_pkglogo": "https://github.com/pasahe/bdlnm/raw/HEAD/man/figures/logo.png",
  "_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-06-26 10:12:20",
      "commits": 18
    }
  ],
  "_score": 5.698970004336019,
  "_indexed": true,
  "_nocasepkg": "bdlnm",
  "_universes": [
    "pasahe"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1.9001",
      "date": "2026-10-04T09:57:43.000Z",
      "distro": "resolute",
      "commit": "8c1b24dac95ab3e70948532723f301c0eae2250a",
      "fileid": "https://r2.ropensci.org/8eb469d339f2b69c39a0f1fbb721a71955d4080bd037644e16036f165fff8486",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pasahe/actions/runs/37193513731"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1.9001",
      "date": "2026-10-04T09:57:47.000Z",
      "distro": "resolute",
      "commit": "8c1b24dac95ab3e70948532723f301c0eae2250a",
      "fileid": "https://r2.ropensci.org/cecee7f97cd13d26452e7c6dc647068c914ccaf0269be8af9ec4041635db77fc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pasahe/actions/runs/37193513731"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1.9001",
      "date": "2026-10-04T09:58:22.000Z",
      "commit": "8c1b24dac95ab3e70948532723f301c0eae2250a",
      "fileid": "https://r2.ropensci.org/bd5236b7f04d43535be1256b475bfbf7b50bdad8f4713bce08d7a8df730fcf03",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/pasahe/actions/runs/37193513731"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1.9001",
      "date": "2026-10-04T09:57:40.000Z",
      "commit": "8c1b24dac95ab3e70948532723f301c0eae2250a",
      "fileid": "https://r2.ropensci.org/cbf437d625acca7d248edb8332fc445a5f20294c066aed3a3d3f1f77e149f439",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pasahe/actions/runs/37193513731"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1.9001",
      "date": "2026-10-04T09:57:35.000Z",
      "commit": "8c1b24dac95ab3e70948532723f301c0eae2250a",
      "fileid": "https://r2.ropensci.org/bb2f1527c2ed4899ae215664295b6f7c4f079d9b25e525b52cf9b2ec584aa676",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pasahe/actions/runs/37193513731"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1.9001",
      "date": "2026-10-04T09:57:04.000Z",
      "commit": "8c1b24dac95ab3e70948532723f301c0eae2250a",
      "fileid": "https://r2.ropensci.org/1c72d9bfcb9de47104727685e2ba2841721bea9c7d8f2be67779bbbc28e43651",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pasahe/actions/runs/37193513731"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1.9001",
      "date": "2026-10-04T09:57:33.000Z",
      "commit": "8c1b24dac95ab3e70948532723f301c0eae2250a",
      "fileid": "https://r2.ropensci.org/32e3203dac1dffec906b9548320c11086e588bd2c785c6a2162e1e089029404a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pasahe/actions/runs/37193513731"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1.9001",
      "date": "2026-10-04T09:56:49.000Z",
      "commit": "8c1b24dac95ab3e70948532723f301c0eae2250a",
      "fileid": "https://r2.ropensci.org/ff9233b07883e4bc625f31641f349662c1904395e2fdc78b9060054558bc3f2b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pasahe/actions/runs/37193513731"
    }
  ]
}