{
  "_id": "6ace0e00a14063b82c3af084",
  "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-08-14 17:00:19 UTC",
  "RemoteUrl": "https://github.com/avi-kenny/steppedwedge",
  "RemoteRef": "HEAD",
  "RemoteSha": "f7362d35a9264c668a8606979a2e2748eaae0fed",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-13 10:50:34 UTC",
    "User": "root"
  },
  "Author": "Avi Kenny [aut, cre, cph],\nDavid Arthur [aut],\nYongdong Ouyang [aut]",
  "Maintainer": "Avi Kenny <avi.kenny@gmail.com>",
  "_user": "avi-kenny",
  "_type": "src",
  "_file": "steppedwedge_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/bf7a4e9b64e69041d39b8eabc1d1ca743b8a647ae8de88fff0e73f218c701e0e",
  "_filesize": 1444610,
  "_sha256": "bf7a4e9b64e69041d39b8eabc1d1ca743b8a647ae8de88fff0e73f218c701e0e",
  "_expires": "2027-01-21T10:54:53.000Z",
  "_created": "2026-10-13T10:50:34.000Z",
  "_published": "2026-10-13T10:54:56.016Z",
  "_buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/38385737560",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115258313392,
      "time": 199,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11807255549"
    },
    {
      "job": 115258313378,
      "time": 156,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11807315436"
    },
    {
      "job": 115258313328,
      "time": 122,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11807245636"
    },
    {
      "job": 115258313397,
      "time": 133,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11807400529"
    },
    {
      "job": 115257079912,
      "time": 195,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11806391322"
    },
    {
      "job": 115258313545,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11807585149"
    },
    {
      "job": 115258313536,
      "time": 132,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11807170380"
    },
    {
      "job": 115258314307,
      "time": 110,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11807685025"
    },
    {
      "job": 115258313445,
      "time": 127,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11807385263"
    }
  ],
  "_upstream": "https://github.com/avi-kenny/steppedwedge",
  "_commit": {
    "id": "f7362d35a9264c668a8606979a2e2748eaae0fed",
    "author": "David Arthur <dea30@dhe.duke.edu>",
    "committer": "David Arthur <dea30@dhe.duke.edu>",
    "message": "Add error message if user specifies robust variance estimator with TEH\n",
    "time": 1786726819
  },
  "_maintainer": {
    "name": "Avi Kenny",
    "email": "avi.kenny@gmail.com",
    "login": "avi-kenny",
    "description": "Assistant Professor, Biostatistics & Bioinformatics, Duke University",
    "uuid": 8585517
  },
  "_distro": "resolute",
  "_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-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
    },
    {
      "week": "2026-32",
      "n": 1
    },
    {
      "week": "2026-33",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "davidearthur",
      "count": 173,
      "uuid": 84535945
    },
    {
      "user": "avi-kenny",
      "count": 103,
      "uuid": 8585517
    }
  ],
  "_userbio": {
    "uuid": 8585517,
    "type": "user",
    "name": "Avi Kenny",
    "followers": 11,
    "description": "Assistant Professor, Biostatistics & Bioinformatics, Duke University"
  },
  "_downloads": {
    "count": 223,
    "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": 3,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/steppedwedge.html"
  ],
  "_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-10-13T10:53:32.000Z",
      "distro": "resolute",
      "commit": "f7362d35a9264c668a8606979a2e2748eaae0fed",
      "fileid": "https://r2.ropensci.org/6759b514f674b611bc10eb0faa8f7b00b9c025bfdc0f577fa0a54700d2d6dec0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/38385737560"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-13T10:52:43.000Z",
      "distro": "resolute",
      "commit": "f7362d35a9264c668a8606979a2e2748eaae0fed",
      "fileid": "https://r2.ropensci.org/75f8333f5fb35fbec29985c2f646f8158176570c143017a97e2d585d0ff6bcbb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/38385737560"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-13T10:53:50.000Z",
      "commit": "f7362d35a9264c668a8606979a2e2748eaae0fed",
      "fileid": "https://r2.ropensci.org/f3e9f5ea785d4dbf8205ff40b9d69dcfa55093c2c29780c7d3905c35ac5eb14b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/38385737560"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-13T10:53:44.000Z",
      "commit": "f7362d35a9264c668a8606979a2e2748eaae0fed",
      "fileid": "https://r2.ropensci.org/029ee373cfa81c8915ca0dccc013f53e6a7e23f48abf7fbc0147552898380214",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/38385737560"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-10-13T10:52:48.000Z",
      "commit": "f7362d35a9264c668a8606979a2e2748eaae0fed",
      "fileid": "https://r2.ropensci.org/845b2dfb6d1b838aa572cf3b2e7b59c93eaf960066f64a60738f5a9233549e43",
      "status": "success",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/38385737560"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-13T10:51:58.000Z",
      "commit": "f7362d35a9264c668a8606979a2e2748eaae0fed",
      "fileid": "https://r2.ropensci.org/a39e6a32fe7180b11288f909913523c5a004ab33eb80da3023e2e68a6671300f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/38385737560"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-13T10:51:46.000Z",
      "commit": "f7362d35a9264c668a8606979a2e2748eaae0fed",
      "fileid": "https://r2.ropensci.org/9032a2aeeb4064752559a7e9cfd939c9f40020e6cc12bf2fea83c022359becec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/38385737560"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-13T10:51:55.000Z",
      "commit": "f7362d35a9264c668a8606979a2e2748eaae0fed",
      "fileid": "https://r2.ropensci.org/a87454c4c011194c3acf5d0a2db570de92b7e226409e88d0664e729b6015fec6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/avi-kenny/actions/runs/38385737560"
    }
  ]
}