{
  "_id": "6a5724d0ff0138dec5d6e4bd",
  "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-07-15 06:08:57 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>",
  "_user": "mrcieu",
  "_type": "src",
  "_file": "triangulate_0.0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/8771542da9cb797a05abbf4e0db763025b3565bc306eb02315db6ac74ab243f7",
  "_filesize": 803364,
  "_sha256": "8771542da9cb797a05abbf4e0db763025b3565bc306eb02315db6ac74ab243f7",
  "_expires": "2026-10-23T06:12:30.000Z",
  "_created": "2026-07-15T06:08:57.000Z",
  "_published": "2026-07-15T06:12:32.419Z",
  "_jobs": [
    {
      "job": 87281469677,
      "time": 170,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8334169959"
    },
    {
      "job": 87281469694,
      "time": 158,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8334166855"
    },
    {
      "job": 87281469710,
      "time": 102,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8334149755"
    },
    {
      "job": 87281469685,
      "time": 84,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8334144230"
    },
    {
      "job": 87280875305,
      "time": 254,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8334119013"
    },
    {
      "job": 87281469644,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8334155196"
    },
    {
      "job": 87281469718,
      "time": 103,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8334149795"
    },
    {
      "job": 87281469697,
      "time": 117,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8334154507"
    },
    {
      "job": 87281469698,
      "time": 96,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8334148323"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29393176689",
  "_status": "success",
  "_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",
    "description": "Research Fellow at MRC Integrative Epidemiology Unit at the University of Bristol",
    "uuid": 59094148
  },
  "_distro": "resolute",
  "_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",
    "followers": 251
  },
  "_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.1",
  "_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",
    "LICENSE",
    "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-07-15T06:11:37.000Z",
      "distro": "resolute",
      "commit": "9c198ec995a81629a4cba46b38b577cbfa9b6a11",
      "fileid": "https://r2.ropensci.org/5c79259f9c987d911da45d07a8bbc7cf45603e68eccfcca45c96dddbb13e468c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29393176689"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-07-15T06:11:32.000Z",
      "distro": "resolute",
      "commit": "9c198ec995a81629a4cba46b38b577cbfa9b6a11",
      "fileid": "https://r2.ropensci.org/69f1d42247b7f1abc9175637f9d8695f98f26a4b45015b645f6016bd850a52c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29393176689"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-07-15T06:10:37.000Z",
      "commit": "9c198ec995a81629a4cba46b38b577cbfa9b6a11",
      "fileid": "https://r2.ropensci.org/018914ffe6840d301a8da5d29e87884b32ece516e8d93fd1dcb7c7117d8a4574",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29393176689"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-07-15T06:10:29.000Z",
      "commit": "9c198ec995a81629a4cba46b38b577cbfa9b6a11",
      "fileid": "https://r2.ropensci.org/27d831f3220fc902ca74b73bb65d813c2cce78820a6c07ff895cb0f2283ee7ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29393176689"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.2",
      "date": "2026-07-15T06:11:25.000Z",
      "commit": "9c198ec995a81629a4cba46b38b577cbfa9b6a11",
      "fileid": "https://r2.ropensci.org/399696ab2ca2b32a430c371773cfab05904ba98ee188804a55b333178681a53a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29393176689"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-07-15T06:10:25.000Z",
      "commit": "9c198ec995a81629a4cba46b38b577cbfa9b6a11",
      "fileid": "https://r2.ropensci.org/d7190b8d633a02ed9c4815e0cdaa6a601ad5bc525150e88f292f2a200fd68acc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29393176689"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-07-15T06:10:45.000Z",
      "commit": "9c198ec995a81629a4cba46b38b577cbfa9b6a11",
      "fileid": "https://r2.ropensci.org/8dd8ab8bd2191d11732aa41b341834dfb3ed00b6d3ace8125686bd5f456ad3ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29393176689"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-07-15T06:10:24.000Z",
      "commit": "9c198ec995a81629a4cba46b38b577cbfa9b6a11",
      "fileid": "https://r2.ropensci.org/248e8227119ff015ed8d5e3ac328ce1c7cac699fb78986983650cc3999a85b53",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mrcieu/actions/runs/29393176689"
    }
  ]
}