{
  "_id": "6a1eeb0eb401979e734121d6",
  "Package": "steppedwedge",
  "Type": "Package",
  "Title": "Analyze Data from Stepped Wedge Cluster Randomized Trials",
  "Version": "1.0.0",
  "Authors@R": "c(\nperson(\"Avi\", \"Kenny\", email = \"avi.kenny@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\")),\nperson(\"David\", \"Arthur\", email = \"david.arthur291@duke.edu\", role = \"aut\"),\nperson(\"Yongdong\", \"Ouyang\", email = \"yongdong.ouyang@sickkids.ca\",\nrole = \"aut\"))",
  "Description": "Provide various functions and tools to help fit models for\nestimating treatment effects in stepped wedge cluster\nrandomized trials. Implements methods described in Kenny,\nVoldal, Xia, and Heagerty (2022) \"Analysis of stepped wedge\ncluster randomized trials in the presence of a time-varying\ntreatment effect\", <doi:10.1002/sim.9511>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "URL": "https://avi-kenny.github.io/steppedwedge/,\nhttps://github.com/Avi-Kenny/steppedwedge",
  "BugReports": "https://github.com/Avi-Kenny/steppedwedge/issues",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://avi-kenny.r-universe.dev",
  "Date/Publication": "2026-04-17 23:46:41 UTC",
  "RemoteUrl": "https://github.com/avi-kenny/steppedwedge",
  "RemoteRef": "HEAD",
  "RemoteSha": "bd5bf068801695d6a7472c2fdaba41217bcfdd2c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-19 09:54:47 UTC",
    "User": "root"
  },
  "Author": "Avi Kenny [aut, cre, cph],\nDavid Arthur [aut],\nYongdong Ouyang [aut]",
  "Maintainer": "Avi Kenny <avi.kenny@gmail.com>",
  "MD5sum": "309744b89edcedaef2a8e0d3de534cdc",
  "_user": "avi-kenny",
  "_type": "src",
  "_file": "steppedwedge_1.0.0.tar.gz",
  "_fileid": "39af99784e67a602701de0a31fce9c18ee5d902cd8ed0da010798971328822c1",
  "_filesize": 1421428,
  "_sha256": "39af99784e67a602701de0a31fce9c18ee5d902cd8ed0da010798971328822c1",
  "_created": "2026-05-19T09:54:47.000Z",
  "_published": "2026-06-02T14:39:10.840Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79096978696,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7080347282"
    },
    {
      "job": 79096978335,
      "time": 148,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7080347085"
    },
    {
      "job": 79096977512,
      "time": 154,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7080341792"
    },
    {
      "job": 79096977590,
      "time": 211,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7080348435"
    },
    {
      "job": 79096976753,
      "time": 208,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7080296034"
    },
    {
      "job": 79096976839,
      "time": 146,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7360897750"
    },
    {
      "job": 79096977547,
      "time": 127,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7080339889"
    },
    {
      "job": 79096978408,
      "time": 110,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7080327195"
    },
    {
      "job": 79096977924,
      "time": 129,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7080333878"
    }
  ],
  "_buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/26089663416",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/avi-kenny/steppedwedge",
  "_commit": {
    "id": "bd5bf068801695d6a7472c2fdaba41217bcfdd2c",
    "author": "David Arthur <david.arthur291@duke.edu>",
    "committer": "David Arthur <david.arthur291@duke.edu>",
    "message": "Remove \"ar1\" option from the `re` argument in `analyze()`\n",
    "time": 1776469601
  },
  "_maintainer": {
    "name": "Avi Kenny",
    "email": "avi.kenny@gmail.com",
    "login": "avi-kenny",
    "description": "Assistant Professor, Biostatistics & Bioinformatics, Duke University",
    "uuid": 8585517
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.10",
      "role": "Imports"
    },
    {
      "package": "stats",
      "version": ">= 4.0.0",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "version": ">= 1.5.1",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "version": ">= 2.0.3",
      "role": "Imports"
    },
    {
      "package": "methods",
      "version": ">= 3.6.2",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.5.1",
      "role": "Imports"
    },
    {
      "package": "lme4",
      "version": ">= 2.0.0",
      "role": "Imports"
    },
    {
      "package": "geepack",
      "version": ">= 1.3.12",
      "role": "Imports"
    },
    {
      "package": "performance",
      "version": ">= 0.12.4",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "version": ">= 1.7.1",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "version": ">= 7.3.61",
      "role": "Imports"
    },
    {
      "package": "expm",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    }
  ],
  "_owner": "avi-kenny",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-26",
      "n": 3
    },
    {
      "week": "2025-30",
      "n": 2
    },
    {
      "week": "2025-41",
      "n": 9
    },
    {
      "week": "2025-42",
      "n": 4
    },
    {
      "week": "2025-43",
      "n": 5
    },
    {
      "week": "2025-45",
      "n": 4
    },
    {
      "week": "2025-46",
      "n": 5
    },
    {
      "week": "2025-47",
      "n": 5
    },
    {
      "week": "2025-49",
      "n": 6
    },
    {
      "week": "2025-50",
      "n": 6
    },
    {
      "week": "2026-02",
      "n": 4
    },
    {
      "week": "2026-03",
      "n": 3
    },
    {
      "week": "2026-05",
      "n": 5
    },
    {
      "week": "2026-08",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 2
    },
    {
      "week": "2026-16",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "davidearthur",
      "count": 162,
      "uuid": 84535945
    },
    {
      "user": "avi-kenny",
      "count": 102,
      "uuid": 8585517
    }
  ],
  "_userbio": {
    "uuid": 8585517,
    "type": "user",
    "name": "Avi Kenny",
    "description": "Assistant Professor, Biostatistics & Bioinformatics, Duke University"
  },
  "_downloads": {
    "count": 202,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/steppedwedge"
  },
  "_devurl": "https://github.com/avi-kenny/steppedwedge",
  "_pkgdown": "https://avi-kenny.github.io/steppedwedge/",
  "_searchresults": 2,
  "_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/steppedwedge.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/avi-kenny/steppedwedge",
  "_realowner": "avi-kenny",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-02-21"
    }
  ],
  "_exports": [
    "analyze",
    "as_table",
    "load_data",
    "params",
    "plot_clusters",
    "plot_design",
    "plot_effect_curves"
  ],
  "_datasets": [
    {
      "name": "sw_data_example",
      "title": "Example stepped wedge data",
      "object": "sw_data_example",
      "class": [
        "data.frame"
      ],
      "fields": [
        "cluster",
        "period",
        "trt",
        "outcome_bin",
        "outcome_cont"
      ],
      "rows": 2011,
      "table": true,
      "tojson": true
    },
    {
      "name": "sw_data_example_binom",
      "title": "Example stepped wedge data with aggregrated outcomes",
      "object": "sw_data_example_binom",
      "class": [
        "data.frame"
      ],
      "fields": [
        "cluster",
        "period",
        "trt",
        "denominator",
        "numerator"
      ],
      "rows": 90,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "analyze",
      "title": "Analyze a stepped wedge dataset",
      "topics": [
        "analyze"
      ]
    },
    {
      "page": "as_table",
      "title": "Create table of estimates",
      "topics": [
        "as_table"
      ]
    },
    {
      "page": "load_data",
      "title": "Load and format data object",
      "topics": [
        "load_data"
      ]
    },
    {
      "page": "params",
      "title": "Set advanced parameters for analysis of data from stepped wedge trials",
      "topics": [
        "params"
      ]
    },
    {
      "page": "plot_clusters",
      "title": "Plot observed and predicted outcomes by cluster over time",
      "topics": [
        "plot_clusters"
      ]
    },
    {
      "page": "plot_design",
      "title": "Plot stepped wedge design",
      "topics": [
        "plot_design"
      ]
    },
    {
      "page": "plot_effect_curves",
      "title": "Plot effect estimates by exposure time for one or more models.",
      "topics": [
        "plot_effect_curves"
      ]
    },
    {
      "page": "sw_data_example",
      "title": "Example stepped wedge data",
      "topics": [
        "sw_data_example"
      ]
    },
    {
      "page": "sw_data_example_binom",
      "title": "Example stepped wedge data with aggregrated outcomes",
      "topics": [
        "sw_data_example_binom"
      ]
    }
  ],
  "_pkglogo": "https://github.com/avi-kenny/steppedwedge/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/avi-kenny/steppedwedge/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "bayestestR",
    "boot",
    "broom",
    "cli",
    "cpp11",
    "datawizard",
    "dplyr",
    "expm",
    "farver",
    "forcats",
    "geepack",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "insight",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "magrittr",
    "MASS",
    "Matrix",
    "minqa",
    "nlme",
    "nloptr",
    "performance",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "steppedwedge.Rmd",
      "filename": "steppedwedge.html",
      "title": "Basic package workflow",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Loading data",
        "Plotting the design",
        "Analyzing the data",
        "Binary outcome",
        "Continuous outcome",
        "Binomial outcome",
        "Plotting effect curves",
        "Plotting cluster charts"
      ],
      "created": "2024-10-07 13:51:57",
      "modified": "2025-12-12 15:55:03",
      "commits": 27
    }
  ],
  "_score": 5.380211241711606,
  "_indexed": true,
  "_nocasepkg": "steppedwedge",
  "_universes": [
    "avi-kenny"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-19T09:57:04.000Z",
      "distro": "noble",
      "commit": "bd5bf068801695d6a7472c2fdaba41217bcfdd2c",
      "fileid": "67d8bc25d068c3f11be1252b37eeddf0651db965ad7e3b0588132c6a36c7c33d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/26089663416"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-19T09:57:05.000Z",
      "distro": "noble",
      "commit": "bd5bf068801695d6a7472c2fdaba41217bcfdd2c",
      "fileid": "dc2454d2ca04087f2269afb1346fa0a5fb21c872acbd1349fb15863fe6070732",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/26089663416"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-19T09:57:00.000Z",
      "commit": "bd5bf068801695d6a7472c2fdaba41217bcfdd2c",
      "fileid": "7bfaba5b2ac6385f1ba04a5e7549e0da4b43c0f6f826725d529ada505f0b98d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/26089663416"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-19T09:57:06.000Z",
      "commit": "bd5bf068801695d6a7472c2fdaba41217bcfdd2c",
      "fileid": "23fdf7f87305261da0da4bdebc6cdc5a74d3120adafe6cd0e5ae35a8c881e49e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/26089663416"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-19T09:56:30.000Z",
      "commit": "bd5bf068801695d6a7472c2fdaba41217bcfdd2c",
      "fileid": "82c713c0d4175931e4e7952b02488bc46daf0e7af9914d0b93cce0f3d490ed29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/26089663416"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-19T09:55:59.000Z",
      "commit": "bd5bf068801695d6a7472c2fdaba41217bcfdd2c",
      "fileid": "c53b97948ed492bd5bbdd29547cd59faf6beb64d992fb7c4dbec7556bd1a1ece",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/26089663416"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-19T09:56:20.000Z",
      "commit": "bd5bf068801695d6a7472c2fdaba41217bcfdd2c",
      "fileid": "dfd55d26295d5bbeb0bd4fcd011570a2adb2e8fa9486fdbe48b0948e1d7dbebd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/26089663416"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-02T14:38:49.000Z",
      "commit": "bd5bf068801695d6a7472c2fdaba41217bcfdd2c",
      "fileid": "0a6ccf97de4bf599787fbae6f10b1210fedf080151fb57cb580f767e563dd70d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/26089663416"
    }
  ]
}