{
  "_id": "6a1f1f52b401979e73420122",
  "Package": "triangulate",
  "Title": "Useful functions for performing evidence triangulation",
  "Version": "0.0.2",
  "Authors@R": "c(\nperson(given = \"Luke\",\nfamily = \"McGuinness\",\nrole = \"aut\",\nemail = \"luke.mcguinness@bristol.ac.uk\",\ncomment = c(ORCID = \"0000-0001-8730-9761\")),\nperson(given = \"Tassia\",\nfamily = \"Jones\",\nrole = \"aut\",\nemail = \"nv22679@bristol.ac.uk\"),\nperson(given = \"Chin Yang\",\nfamily = \"Shapland\",\nrole = c(\"aut\", \"cre\"),\nemail = \"chinyang.shapland@bristol.ac.uk\")\n)",
  "Description": "What the package does (one paragraph).",
  "License": "MIT + file LICENSE",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "URL": "https://mcguinlu.github.io/triangulate,\nhttps://github.com/mcguinlu/triangulate,\nhttps://mrcieu.r-universe.dev/triangulate",
  "BugReports": "https://github.com/mcguinlu/triangulate/issues",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev zlib1g-dev",
  "Repository": "https://mrcieu.r-universe.dev",
  "Date/Publication": "2026-01-16 16:25:15 UTC",
  "RemoteUrl": "https://github.com/mcguinlu/triangulate",
  "RemoteRef": "HEAD",
  "RemoteSha": "9c198ec995a81629a4cba46b38b577cbfa9b6a11",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-16 08:05:59 UTC",
    "User": "root"
  },
  "Author": "Luke McGuinness [aut] (ORCID: <https://orcid.org/0000-0001-8730-9761>),\nTassia Jones [aut],\nChin Yang Shapland [aut, cre]",
  "Maintainer": "Chin Yang Shapland <chinyang.shapland@bristol.ac.uk>",
  "MD5sum": "01a75b040b6f173bf798a3d67897b754",
  "_user": "mrcieu",
  "_type": "src",
  "_file": "triangulate_0.0.2.tar.gz",
  "_fileid": "de6fdbe368ca9c8eaa4fdace45a3df73eac5db6b36a03ddd473723f443fd284d",
  "_filesize": 801316,
  "_sha256": "de6fdbe368ca9c8eaa4fdace45a3df73eac5db6b36a03ddd473723f443fd284d",
  "_created": "2026-05-16T08:05:59.000Z",
  "_published": "2026-06-02T18:22:10.702Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79142096757,
      "time": 162,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031836378"
    },
    {
      "job": 79142096998,
      "time": 163,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031836346"
    },
    {
      "job": 79142096776,
      "time": 101,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031863615"
    },
    {
      "job": 79142096804,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031859843"
    },
    {
      "job": 79142095662,
      "time": 211,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031820051"
    },
    {
      "job": 79142095880,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366315583"
    },
    {
      "job": 79142096414,
      "time": 101,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7031830255"
    },
    {
      "job": 79142097097,
      "time": 91,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7031829234"
    },
    {
      "job": 79142096681,
      "time": 106,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031830728"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25956830181",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mcguinlu/triangulate",
  "_commit": {
    "id": "9c198ec995a81629a4cba46b38b577cbfa9b6a11",
    "author": "CYShapland <59094148+CYShapland@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #11 from CYShapland/tassia-vignette-edits\n\nadjusted the plot size for the vignette",
    "time": 1768580715
  },
  "_maintainer": {
    "name": "Chin Yang Shapland",
    "email": "chinyang.shapland@bristol.ac.uk",
    "login": "cyshapland",
    "uuid": 59094148
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "janitor",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "metadat",
      "role": "Imports"
    },
    {
      "package": "metafor",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "readxl",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    }
  ],
  "_owner": "mcguinlu",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-48",
      "n": 2
    },
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "remlapmot",
      "count": 40,
      "uuid": 3777473
    },
    {
      "user": "mcguinlu",
      "count": 19,
      "uuid": 41202585
    },
    {
      "user": "tassiajones",
      "count": 15,
      "uuid": 124691407
    },
    {
      "user": "cyshapland",
      "count": 8,
      "uuid": 59094148
    }
  ],
  "_userbio": {
    "uuid": 15654827,
    "type": "organization",
    "name": "MRC Integrative Epidemiology Unit"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/triangulate"
  },
  "_devurl": "https://github.com/mcguinlu/triangulate",
  "_searchresults": 10,
  "_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/triangulate.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "%>%",
    "interactive_bias_plot",
    "tri_absolute_direction",
    "tri_absolute_direction_invert",
    "tri_absolute_direction_quick",
    "tri_append_bias",
    "tri_append_indirect",
    "tri_calculate_adjusted_estimates",
    "tri_dat_check",
    "tri_plot_bias_direction",
    "tri_prep_data",
    "tri_swap_effect_direction",
    "tri_to_long",
    "tri_to_wide"
  ],
  "_datasets": [
    {
      "name": "beta_carotene_data",
      "title": "Beta-carotene RoB Judgments (Raw) Domain-level risk of bias judgments for 15 studies of beta-carotene and cardiovascular outcomes.",
      "object": "beta_carotene_data",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "result_id",
        "study",
        "type",
        "d1j",
        "d2j",
        "d3j",
        "d4j",
        "d5j",
        "d6j",
        "d7j",
        "d1t",
        "d2t",
        "d3t",
        "d4t",
        "d5t",
        "d6t",
        "d7t",
        "d1d",
        "d2d",
        "d3d",
        "d4d",
        "d5d",
        "d6d",
        "d7d",
        "overall"
      ],
      "rows": 27,
      "table": true,
      "tojson": true
    },
    {
      "name": "dat_bias",
      "title": "Example risk of bias assessments",
      "object": "dat_bias",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "result_id",
        "study",
        "type",
        "yi",
        "vi",
        "d1j",
        "d1t",
        "d1d",
        "d2j",
        "d2t",
        "d2d",
        "d3j",
        "d3t",
        "d3d",
        "d4j",
        "d4t",
        "d4d",
        "d5j",
        "d5t",
        "d5d",
        "d6j",
        "d6t",
        "d6d",
        "d7j",
        "d7t",
        "d7d"
      ],
      "rows": 20,
      "table": true,
      "tojson": true
    },
    {
      "name": "dat_bias_values",
      "title": "Example priors for the bias adjustment",
      "object": "dat_bias_values",
      "class": [
        "data.frame"
      ],
      "fields": [
        "domain",
        "j",
        "bias_m_add",
        "bias_v_add",
        "bias_m_prop",
        "bias_v_prop"
      ],
      "rows": 3,
      "table": true,
      "tojson": true
    },
    {
      "name": "dat_ind",
      "title": "Example indirectness assessments",
      "object": "dat_ind",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "result_id",
        "study",
        "type",
        "yi",
        "vi",
        "d1j",
        "d1t",
        "d1d",
        "d2j",
        "d2t",
        "d2d",
        "d3j",
        "d3t",
        "d3d"
      ],
      "rows": 20,
      "table": true,
      "tojson": true
    },
    {
      "name": "dat_ind_values",
      "title": "Example priors for indirectness adjustment",
      "object": "dat_ind_values",
      "class": [
        "data.frame"
      ],
      "fields": [
        "domain",
        "j",
        "ind_m_add",
        "ind_v_add",
        "ind_m_prop",
        "ind_v_prop"
      ],
      "rows": 3,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "beta_carotene_data",
      "title": "Beta-carotene RoB Judgments (Raw) Domain-level risk of bias judgments for 15 studies of beta-carotene and cardiovascular outcomes.",
      "topics": [
        "beta_carotene_data"
      ]
    },
    {
      "page": "dat_bias",
      "title": "Example risk of bias assessments",
      "topics": [
        "dat_bias"
      ]
    },
    {
      "page": "dat_bias_values",
      "title": "Example priors for the bias adjustment",
      "topics": [
        "dat_bias_values"
      ]
    },
    {
      "page": "dat_ind",
      "title": "Example indirectness assessments",
      "topics": [
        "dat_ind"
      ]
    },
    {
      "page": "dat_ind_values",
      "title": "Example priors for indirectness adjustment",
      "topics": [
        "dat_ind_values"
      ]
    },
    {
      "page": "interactive_bias_plot",
      "title": "Interactive bias-adjusted plot (horizontal layout)",
      "topics": [
        "interactive_bias_plot"
      ]
    },
    {
      "page": "tri_absolute_direction",
      "title": "Convert to absolute direction of bias or indirectness",
      "topics": [
        "tri_absolute_direction"
      ]
    },
    {
      "page": "tri_absolute_direction_invert",
      "title": "Convert absolute direction back to qualitative tool labels",
      "topics": [
        "tri_absolute_direction_invert"
      ]
    },
    {
      "page": "tri_absolute_direction_quick",
      "title": "Quick wrapper to apply absolute direction transformation",
      "topics": [
        "tri_absolute_direction_quick"
      ]
    },
    {
      "page": "tri_append_bias",
      "title": "Append bias priors to bias dataset",
      "topics": [
        "tri_append_bias"
      ]
    },
    {
      "page": "tri_append_indirect",
      "title": "Append indirectness priors to dataset",
      "topics": [
        "tri_append_indirect"
      ]
    },
    {
      "page": "tri_calculate_adjusted_estimates",
      "title": "Calculate Bias-Adjusted Estimates",
      "topics": [
        "tri_calculate_adjusted_estimates"
      ]
    },
    {
      "page": "tri_dat_check",
      "title": "Check that required columns are present",
      "topics": [
        "tri_dat_check"
      ]
    },
    {
      "page": "tri_plot_bias_direction",
      "title": "Plot bias-adjusted and unadjusted estimates with RoB",
      "topics": [
        "tri_plot_bias_direction"
      ]
    },
    {
      "page": "tri_prep_data",
      "title": "Prepare bias and indirectness data for adjustment",
      "topics": [
        "tri_prep_data"
      ]
    },
    {
      "page": "tri_swap_effect_direction",
      "title": "Standardise Effect Direction and Adjust Bias Directions",
      "topics": [
        "tri_swap_effect_direction"
      ]
    },
    {
      "page": "tri_to_long",
      "title": "Convert data from wide to long format",
      "topics": [
        "tri_to_long"
      ]
    },
    {
      "page": "tri_to_wide",
      "title": "Convert data from long to wide format",
      "topics": [
        "tri_to_wide"
      ]
    }
  ],
  "_readme": "https://github.com/mcguinlu/triangulate/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "cpp11",
    "digest",
    "dplyr",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "hms",
    "htmltools",
    "httpuv",
    "isoband",
    "janitor",
    "jquerylib",
    "jsonlite",
    "labeling",
    "later",
    "lattice",
    "lifecycle",
    "lubridate",
    "magrittr",
    "mathjaxr",
    "Matrix",
    "memoise",
    "metadat",
    "metafor",
    "mime",
    "nlme",
    "numDeriv",
    "otel",
    "pbapply",
    "pillar",
    "pkgconfig",
    "promises",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "sass",
    "scales",
    "shiny",
    "snakecase",
    "sourcetools",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xtable"
  ],
  "_vignettes": [
    {
      "source": "absolute_direction.Rmd",
      "filename": "absolute_direction.html",
      "title": "Absolute direction of bias/indirectness",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Absolute directions of bias/indirectness",
        "Point estimate below NULL",
        "Point estimate above NULL - Bias towards the NULL",
        "Adding the adjustment values",
        "Example",
        "Additive - Favours comparator - right - positive sign",
        "Additive - Favours intervention - left - negative sign",
        "Proportional - Point estimate above NULL - Towards the NULL - left - negative sign",
        "Proportional - Point estimate below NULL - Away from NULL - right - positive sign",
        "Proportional - Point estimate below NULL - Towards the NULL - right - positive sign",
        "Proportional - Point estimate below NULL - Away from NULL - left - negative sign"
      ],
      "created": "2025-11-27 10:07:43",
      "modified": "2025-11-27 10:07:43",
      "commits": 1
    },
    {
      "source": "additional-levels-of-bias-and-indirectness.Rmd",
      "filename": "additional-levels-of-bias-and-indirectness.html",
      "title": "Adding additional levels of bias and indirectness",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2025-11-27 10:07:43",
      "modified": "2025-11-27 10:07:43",
      "commits": 1
    },
    {
      "source": "Creating-triangulation-datasets.Rmd",
      "filename": "Creating-triangulation-datasets.html",
      "title": "Creating triangulation datasets",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Step 1: Create the example dataset",
        "Step 2: Convert to long format",
        "Step 3: Add absolute direction",
        "Step 4: Append bias priors"
      ],
      "created": "2025-11-27 10:07:43",
      "modified": "2025-11-27 10:07:43",
      "commits": 1
    },
    {
      "source": "interactive-sensitivity.Rmd",
      "filename": "interactive-sensitivity.html",
      "title": "Interactive Sensitivity Analysis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Example Data",
        "Launch Interactive App",
        "Conclusion"
      ],
      "created": "2025-11-27 10:07:43",
      "modified": "2025-11-27 10:07:43",
      "commits": 1
    },
    {
      "source": "sensitivity-analysis.Rmd",
      "filename": "sensitivity-analysis.html",
      "title": "Sensitivity Analyses in Triangulate",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Create example dataset",
        "Define Default Bias and Indirectness Priors",
        "Run bias adjustment",
        "Stricter sensitivity scenario",
        "Compare results",
        "Conclusion"
      ],
      "created": "2025-11-27 10:07:43",
      "modified": "2025-11-27 10:07:43",
      "commits": 1
    },
    {
      "source": "beta-carotene-chd-example.Rmd",
      "filename": "beta-carotene-chd-example.html",
      "title": "Triangulation example: Beta-carotene and CHD",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "1. Load CHD Dataset",
        "2. Merge with RoB Assessments",
        "3. Format & Validate Input",
        "4. Add Indirectness & Adjust Effect Estimate for It",
        "5. Apply Bias Priors & Estimate Adjusted Effects",
        "5.1 Define Custom Priors",
        "5.2 Append priors and prepare data, and estimate adjusted effects",
        "6. Final data adjusted for both bias and indirectness",
        "7. Generate Bias-Adjusted Plot"
      ],
      "created": "2025-11-27 10:07:43",
      "modified": "2026-01-16 16:25:15",
      "commits": 2
    }
  ],
  "_score": 5.03342375548695,
  "_indexed": true,
  "_nocasepkg": "triangulate",
  "_universes": [
    "mrcieu",
    "cyshapland",
    "mcguinlu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-05-16T08:08:23.000Z",
      "distro": "noble",
      "commit": "9c198ec995a81629a4cba46b38b577cbfa9b6a11",
      "fileid": "e5b73e3b1af9184da7d1e5c37250f0dbfca515ab7558fb28715272cb8017e6ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25956830181"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-05-16T08:08:23.000Z",
      "distro": "noble",
      "commit": "9c198ec995a81629a4cba46b38b577cbfa9b6a11",
      "fileid": "c355939c1cda8700b0d721b258ffac14b83a35e3eb3c52173d91d11d492ddc4f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25956830181"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-05-16T08:13:13.000Z",
      "commit": "9c198ec995a81629a4cba46b38b577cbfa9b6a11",
      "fileid": "dc74ce73edf4504f13e5f2c4cac17be86ad0b24ca93859df2fd4a0570887a544",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25956830181"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-05-16T08:12:28.000Z",
      "commit": "9c198ec995a81629a4cba46b38b577cbfa9b6a11",
      "fileid": "9eb7e4843d40f7fb2b6501ede56c6a73717749b0fd205a6d23da8560d9bb19fc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25956830181"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-05-16T08:07:17.000Z",
      "commit": "9c198ec995a81629a4cba46b38b577cbfa9b6a11",
      "fileid": "57d956be51d1a044858e02ac66d250f7dc39dab1247b97b26e3e93c6f1177219",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25956830181"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-05-16T08:07:09.000Z",
      "commit": "9c198ec995a81629a4cba46b38b577cbfa9b6a11",
      "fileid": "14a451cf01ca1d66dfc74821ae2afb84b3f62c9a17f7eb0d19eaac9d1f45053d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25956830181"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-05-16T08:07:21.000Z",
      "commit": "9c198ec995a81629a4cba46b38b577cbfa9b6a11",
      "fileid": "0183ba4d55ff1479317bb9d65a0c48d3ecc32dff52bffb1e7729dba6c55afefb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25956830181"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.2",
      "date": "2026-06-02T18:21:49.000Z",
      "commit": "9c198ec995a81629a4cba46b38b577cbfa9b6a11",
      "fileid": "4451c8f35cb7b14cecc153706ccad19520e6ff53e6c1f51986137d58a7a856d8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/25956830181"
    }
  ]
}