{
  "_id": "6a44192631091564a7dee9c4",
  "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-06-30 17:56:52 UTC",
  "RemoteUrl": "https://github.com/avi-kenny/steppedwedge",
  "RemoteRef": "HEAD",
  "RemoteSha": "369f53dc01926f86e2d18139c4b262cf07bf373d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-30 19:26:06 UTC",
    "User": "root"
  },
  "Author": "Avi Kenny [aut, cre, cph],\nDavid Arthur [aut],\nYongdong Ouyang [aut]",
  "Maintainer": "Avi Kenny <avi.kenny@gmail.com>",
  "MD5sum": "dcbaa9d1ed7446aff47fda28135ae62a",
  "_user": "avi-kenny",
  "_type": "src",
  "_file": "steppedwedge_1.0.0.tar.gz",
  "_fileid": "20c42307974825cbbf7f7ddc285b75053c8fcb7727d0850b3d1cf9a779da1e00",
  "_filesize": 1445965,
  "_sha256": "20c42307974825cbbf7f7ddc285b75053c8fcb7727d0850b3d1cf9a779da1e00",
  "_created": "2026-06-30T19:26:06.000Z",
  "_published": "2026-06-30T19:29:42.485Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 84380887433,
      "time": 164,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7991426603"
    },
    {
      "job": 84380887441,
      "time": 181,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7991432739"
    },
    {
      "job": 84380887427,
      "time": 131,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7991414542"
    },
    {
      "job": 84380887434,
      "time": 97,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7991401673"
    },
    {
      "job": 84380193053,
      "time": 215,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7991363431"
    },
    {
      "job": 84380887444,
      "time": 150,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7991421405"
    },
    {
      "job": 84380887468,
      "time": 129,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7991413748"
    },
    {
      "job": 84380887470,
      "time": 126,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7991412532"
    },
    {
      "job": 84380887475,
      "time": 127,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "7991413176"
    }
  ],
  "_buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/28470094568",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/avi-kenny/steppedwedge",
  "_commit": {
    "id": "369f53dc01926f86e2d18139c4b262cf07bf373d",
    "author": "David Arthur <david.arthur291@duke.edu>",
    "committer": "David Arthur <david.arthur291@duke.edu>",
    "message": "Add convergence check to GEE models\n",
    "time": 1782842212
  },
  "_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-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
    },
    {
      "week": "2026-23",
      "n": 8
    },
    {
      "week": "2026-27",
      "n": 3
    }
  ],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "davidearthur",
      "count": 173,
      "uuid": 84535945
    },
    {
      "user": "avi-kenny",
      "count": 102,
      "uuid": 8585517
    }
  ],
  "_userbio": {
    "uuid": 8585517,
    "type": "user",
    "name": "Avi Kenny",
    "followers": 11,
    "description": "Assistant Professor, Biostatistics & Bioinformatics, Duke University"
  },
  "_downloads": {
    "count": 250,
    "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.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/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": "2026-06-05 15:47:56",
      "commits": 28
    }
  ],
  "_score": 5.4065401804339555,
  "_indexed": true,
  "_nocasepkg": "steppedwedge",
  "_universes": [
    "avi-kenny"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-30T19:28:31.000Z",
      "distro": "resolute",
      "commit": "369f53dc01926f86e2d18139c4b262cf07bf373d",
      "fileid": "98b554922ba25af6f0b300a59fcc3d9bf305d3a08d6b6c9a9eb19f79e38a97a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/28470094568"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-30T19:28:45.000Z",
      "distro": "resolute",
      "commit": "369f53dc01926f86e2d18139c4b262cf07bf373d",
      "fileid": "c9439cfc1cd26a17e8c8e3499dfea9805028345ac57d550ab012bd69695899c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/28470094568"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-30T19:27:58.000Z",
      "commit": "369f53dc01926f86e2d18139c4b262cf07bf373d",
      "fileid": "e49364fdcec922a10a2edb0bbfd6ca4b7305582e5c86f6828a371312be8e4fb7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/28470094568"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-30T19:27:32.000Z",
      "commit": "369f53dc01926f86e2d18139c4b262cf07bf373d",
      "fileid": "bb9d92763a520631bfbad27882ea3e90306b7c187c53c9e5ab91486b3685d77d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/28470094568"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-30T19:28:56.000Z",
      "commit": "369f53dc01926f86e2d18139c4b262cf07bf373d",
      "fileid": "85aa9bfa36ffc14c1479ce3cdb109a851d252a458ad704241508dbcb3df933c6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/28470094568"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-30T19:27:33.000Z",
      "commit": "369f53dc01926f86e2d18139c4b262cf07bf373d",
      "fileid": "cdfb95b600000590066b7d0da6e0cdc6c0cf1da84fef79081c1b67e5fd6653cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/28470094568"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-30T19:27:32.000Z",
      "commit": "369f53dc01926f86e2d18139c4b262cf07bf373d",
      "fileid": "c520d8d545ff500c069a9e97e239cce71a19c6fd00b884a3c058e1def8c8fbe5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/28470094568"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-30T19:27:32.000Z",
      "commit": "369f53dc01926f86e2d18139c4b262cf07bf373d",
      "fileid": "6cb1bfb4650ae6ac97fac0bf0d01277f17afcc69de1ec30d005d995ee14d0a15",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/28470094568"
    }
  ]
}