{
  "_id": "6adc96f5ad718eea59ecd3df",
  "Package": "LAGOtrials",
  "Type": "Package",
  "Title": "Learn-as-You-Go Adaptive Trial Optimization",
  "Version": "1.1.0",
  "Authors@R": "c(\nperson(\"Ante\", \"Bing\", email = \"abing@bu.edu\", role = c(\"aut\", \"cre\")),\nperson(\"Minh\", \"Bui\", role = \"aut\"),\nperson(\"Jingyu\", \"Cui\", role = \"aut\"),\nperson(\"Mike\", \"Bostock\", role = \"cph\",\ncomment = \"Author of the bundled D3 v7 library, inst/js/d3.v7.min.js\"))",
  "Description": "Optimizes interventions for adaptive \"Learn-As-you-GO\"\n(LAGO) trials, in which the intervention package is updated\nbetween stages using accumulating data. Given data from\ncompleted stages, lago_optimization() fits the outcome model\n(via 'stats' generalized linear models or, for clustered\ndesigns, cluster-robust variance) and computes the cost-optimal\nrecommended intervention for the next stage that is expected to\nreach a target mean outcome and/or a desired statistical power.\nget_confidence_set() constructs confidence sets for the optimal\nintervention, and visualize_cost() and lago_report() summarize\nthe cost surface and results. Methods are described in Nevo,\nLok and Spiegelman (2021) <doi:10.1214/20-aos1978> and Bing,\nSpiegelman, Nevo and Lok (2025) <doi:10.1093/biomtc/ujaf061>.",
  "License": "GPL-3",
  "Copyright": "This package bundles the D3 v7 library\n(inst/js/d3.v7.min.js), which is ISC-licensed and Copyright\n2010-2023 Mike Bostock. See inst/COPYRIGHTS and\ninst/js/d3-LICENSE. All other code is Copyright the LAGO\nauthors under GPL-3.",
  "URL": "https://correspondmerchant.github.io/LAGO-R-Package/,\nhttps://github.com/correspondMerchant/LAGO-R-Package",
  "BugReports": "https://github.com/correspondMerchant/LAGO-R-Package/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Language": "en-US",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-24 11:23:42 UTC",
    "User": "root"
  },
  "Author": "Ante Bing [aut, cre], Minh Bui [aut], Jingyu Cui [aut], Mike\nBostock [cph] (Author of the bundled D3 v7 library,\ninst/js/d3.v7.min.js)",
  "Maintainer": "Ante Bing <abing@bu.edu>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-10-24 11:17:07 UTC",
  "RemoteUrl": "https://github.com/cran/LAGOtrials",
  "RemoteRef": "HEAD",
  "RemoteSha": "544ca89e120aa44f5eddd1618238340a5d4e91e5",
  "_user": "cran",
  "_type": "src",
  "_file": "LAGOtrials_1.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/476acfb6429130ddd1263e850f1832a60b4977f6d2dea2cb0579c78ccfa5ba79",
  "_filesize": 3888304,
  "_sha256": "476acfb6429130ddd1263e850f1832a60b4977f6d2dea2cb0579c78ccfa5ba79",
  "_expires": "2027-02-01T11:30:58.000Z",
  "_created": "2026-10-24T11:23:42.000Z",
  "_published": "2026-10-24T11:31:01.618Z",
  "_upstream": "https://github.com/cran/LAGOtrials",
  "_status": "success",
  "_maintainer": {
    "name": "Ante Bing",
    "email": "abing@bu.edu",
    "login": "correspondmerchant",
    "description": "",
    "uuid": 20633446
  },
  "_jobs": [
    {
      "job": 120859867962,
      "time": 218,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12559105422"
    },
    {
      "job": 120859867988,
      "time": 280,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12558652120"
    },
    {
      "job": 120859867924,
      "time": 227,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12558377022"
    },
    {
      "job": 120859868040,
      "time": 257,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12558313898"
    },
    {
      "job": 120859206338,
      "time": 201,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12559035245"
    },
    {
      "job": 120859867897,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12558298544"
    },
    {
      "job": 120859867931,
      "time": 392,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12558951365"
    },
    {
      "job": 120859867996,
      "time": 319,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12558896349"
    },
    {
      "job": 120859867980,
      "time": 374,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12558861610"
    },
    {
      "job": 120859867961,
      "time": 266,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12558985346"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40089511266",
  "_commit": {
    "id": "544ca89e120aa44f5eddd1618238340a5d4e91e5",
    "author": "Ante Bing <abing@bu.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.1.0\n",
    "time": 1792840627
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "rje",
      "role": "Imports"
    },
    {
      "package": "NlcOptim",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "bslib",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "shinyjs",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "jsonlite",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-43",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.1.0",
      "date": "2026-10-24"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "correspondmerchant",
      "count": 1,
      "uuid": 20633446
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/LAGOtrials"
  },
  "_devurl": "https://github.com/correspondmerchant/lago-r-package",
  "_pkgdown": "https://correspondmerchant.github.io/LAGO-R-Package/",
  "_searchresults": 8,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/LAGOtrials.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.1.0",
      "date": "2026-10-24"
    }
  ],
  "_exports": [
    "get_confidence_set",
    "lago_budget",
    "lago_optimization",
    "lago_report",
    "lago_sensitivity",
    "visualize_cost"
  ],
  "_datasets": [
    {
      "name": "BB_data",
      "title": "BetterBirth Data (for binary outcome analysis)",
      "object": "BB_data",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "coaching_updt",
        "data_flag",
        "datafeedback",
        "launch_duration",
        "leadership_ITT",
        "leadership_updt",
        "pre_post",
        "pilot_phase",
        "site_name",
        "always_checklist",
        "sometimes_checklist",
        "birth_volume",
        "birth_volume_100",
        "distance",
        "distance_10",
        "staff_nurse",
        "pp2_hand_hygiene",
        "pp3_oxytocin_mother",
        "center_type",
        "coach5",
        "coach3"
      ],
      "rows": 6124,
      "table": true,
      "tojson": true
    },
    {
      "name": "BB_proportions",
      "title": "BetterBirth Data (for continuous outcome analysis, using EBP proportions as a continuous outcome).",
      "object": "BB_proportions",
      "class": [
        "data.frame"
      ],
      "fields": [
        "coaching_updt",
        "launch_duration",
        "birth_volume_100",
        "EBP_proportions"
      ],
      "rows": 7359,
      "table": true,
      "tojson": true
    },
    {
      "name": "main_pulesa_data",
      "title": "PULESA hypertension-care data (main model)",
      "object": "main_pulesa_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Clinic",
        "Period",
        "AccessMedicines",
        "AccessBPMachines",
        "HypertensionTraining",
        "DeliveryA",
        "DeliveryB",
        "MI_DeliveryB",
        "RemoteMonitoring",
        "MI_RemoteMonitoring",
        "PerformanceImprovement",
        "MI_PerformanceImprovement",
        "Success",
        "Total_visit",
        "Proportions"
      ],
      "rows": 192,
      "table": true,
      "tojson": true
    },
    {
      "name": "new_pulesa_data",
      "title": "PULESA hypertension-care data (new model)",
      "object": "new_pulesa_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Clinic",
        "Period",
        "W1",
        "W2",
        "W3",
        "W4",
        "W5",
        "W6",
        "W7",
        "W8",
        "MI_W5",
        "MI_W7",
        "MI_W8",
        "AccessMedicines",
        "AccessBPMachines",
        "HypertensionTraining",
        "DeliveryA",
        "DeliveryB",
        "RemoteMonitoring",
        "PerformanceImprovement",
        "Success",
        "Total_visit"
      ],
      "rows": 192,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "BB_data",
      "title": "BetterBirth Data (for binary outcome analysis)",
      "topics": [
        "BB_data"
      ]
    },
    {
      "page": "BB_proportions",
      "title": "BetterBirth Data (for continuous outcome analysis, using EBP proportions as a continuous outcome).",
      "topics": [
        "BB_proportions"
      ]
    },
    {
      "page": "lago_budget",
      "title": "Budget-constrained LAGO optimization",
      "concept": [
        "LAGO functions"
      ],
      "topics": [
        "lago_budget"
      ]
    },
    {
      "page": "lago_optimization",
      "title": "Run a LAGO optimization",
      "concept": [
        "LAGO functions"
      ],
      "topics": [
        "lago_optimization"
      ]
    },
    {
      "page": "lago_report",
      "title": "Generate an HTML report for a LAGO optimization result",
      "concept": [
        "LAGO functions"
      ],
      "topics": [
        "lago_report"
      ]
    },
    {
      "page": "lago_sensitivity",
      "title": "Sensitivity analysis for a LAGO recommendation",
      "concept": [
        "LAGO functions"
      ],
      "topics": [
        "lago_sensitivity"
      ]
    },
    {
      "page": "main_pulesa_data",
      "title": "PULESA hypertension-care data (main model)",
      "topics": [
        "main_pulesa_data"
      ]
    },
    {
      "page": "new_pulesa_data",
      "title": "PULESA hypertension-care data (new model)",
      "topics": [
        "new_pulesa_data"
      ]
    },
    {
      "page": "plot.lago",
      "title": "Plot a LAGO optimization result",
      "topics": [
        "plot.lago"
      ]
    },
    {
      "page": "plot.lago_budget",
      "title": "Plot a budget-constrained LAGO result",
      "topics": [
        "plot.lago_budget"
      ]
    },
    {
      "page": "plot.lago_sensitivity",
      "title": "Plot a LAGO sensitivity analysis",
      "topics": [
        "plot.lago_sensitivity"
      ]
    },
    {
      "page": "print.lago",
      "title": "Print a LAGO optimization result",
      "topics": [
        "print.lago"
      ]
    },
    {
      "page": "print.lago_budget",
      "title": "Print a budget-constrained LAGO result",
      "topics": [
        "print.lago_budget"
      ]
    },
    {
      "page": "print.lago_sensitivity",
      "title": "Print a LAGO sensitivity analysis",
      "topics": [
        "print.lago_sensitivity"
      ]
    },
    {
      "page": "summary.lago",
      "title": "Summarize a LAGO optimization result",
      "topics": [
        "summary.lago"
      ]
    },
    {
      "page": "visualize_cost",
      "title": "Visualize and choose intervention cost functions",
      "concept": [
        "LAGO functions"
      ],
      "topics": [
        "visualize_cost"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/LAGOtrials/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/cran/LAGOtrials/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "cpp11",
    "digest",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "ggplot2",
    "glue",
    "gtable",
    "htmltools",
    "httpuv",
    "isoband",
    "jquerylib",
    "jsonlite",
    "labeling",
    "later",
    "lifecycle",
    "magrittr",
    "MASS",
    "memoise",
    "mime",
    "NlcOptim",
    "otel",
    "promises",
    "quadprog",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rje",
    "rlang",
    "S7",
    "sass",
    "scales",
    "shiny",
    "shinyjs",
    "sourcetools",
    "vctrs",
    "viridisLite",
    "withr",
    "xtable"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "lago-optimization.Rmd",
      "filename": "lago-optimization.html",
      "title": "Optimizing an intervention with LAGO",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The data",
        "Recommending an intervention",
        "Visualizing the confidence set",
        "Adding a power goal",
        "How sensitive is the recommendation?"
      ],
      "created": "2026-10-24 11:17:07",
      "modified": "2026-10-24 11:17:07",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": false,
  "_nocasepkg": "lagotrials",
  "_universes": [
    "cran",
    "correspondmerchant"
  ],
  "_indexurl": "https://correspondmerchant.r-universe.dev/LAGOtrials",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-24T11:25:26.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "544ca89e120aa44f5eddd1618238340a5d4e91e5",
      "fileid": "https://r2.ropensci.org/de6f0126deff4ec07af3063d801ab7656b88e9a8618be5fbedde557f47b0a098",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40089511266"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-24T11:25:58.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "544ca89e120aa44f5eddd1618238340a5d4e91e5",
      "fileid": "https://r2.ropensci.org/b6a8fe883b78e4bc1dd2200392ef5f0aa1fa830dbfa53e4027337713e242363f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40089511266"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-24T11:25:32.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "544ca89e120aa44f5eddd1618238340a5d4e91e5",
      "fileid": "https://r2.ropensci.org/1f3d1397698ef2e5a94c72c597a011c82128fa0cda33c535c8629d022807452d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40089511266"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-24T11:25:44.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "544ca89e120aa44f5eddd1618238340a5d4e91e5",
      "fileid": "https://r2.ropensci.org/081ac637607fd9006286cfdd93a49506a5e1427bd27be7be5b52f176bf7422a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40089511266"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-10-24T11:25:51.000Z",
      "arch": "emscripten",
      "commit": "544ca89e120aa44f5eddd1618238340a5d4e91e5",
      "fileid": "https://r2.ropensci.org/ab2ae8fb40633ff6f1d677e1c563557294eeef7ab5f8ca7f3f80428428ca709d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40089511266"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-24T11:27:26.000Z",
      "arch": "aarch64",
      "commit": "544ca89e120aa44f5eddd1618238340a5d4e91e5",
      "fileid": "https://r2.ropensci.org/e0d61b22786b11a2486fb67d76bb70d8229022c884f2df2bbe84a385e4c4444e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40089511266"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-24T11:25:00.000Z",
      "arch": "x86_64",
      "commit": "544ca89e120aa44f5eddd1618238340a5d4e91e5",
      "fileid": "https://r2.ropensci.org/43d51588cee839cee5e48902270c4baae626f7fc56f8452ca3980b35e984cfd3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40089511266"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-24T11:27:13.000Z",
      "arch": "aarch64",
      "commit": "544ca89e120aa44f5eddd1618238340a5d4e91e5",
      "fileid": "https://r2.ropensci.org/d540a2b785e9a6bbbe3cae3c929be207052a5dbd422caf469bc6cc7826108045",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40089511266"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-24T11:25:11.000Z",
      "arch": "x86_64",
      "commit": "544ca89e120aa44f5eddd1618238340a5d4e91e5",
      "fileid": "https://r2.ropensci.org/9dc1df3f1250ca8434942dd98c7a68e90abc1554f609d6c068fe0ec0a4668062",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40089511266"
    }
  ]
}