{
  "_id": "6a1ee867b401979e73411a74",
  "Package": "swdpwr",
  "Type": "Package",
  "Title": "Power Calculation for Stepped Wedge Cluster Randomized Trials",
  "Version": "1.12",
  "Date": "2026-05-14",
  "Authors@R": "c(person(given = \"Jiachen\",\nfamily = \"Chen\",\nrole = c(\"cre\", \"aut\"),\nemail = \"jiachen.chen322@gmail.com\"),\nperson(given = \"Xin\",\nfamily = \"Zhou\",\nrole = \"aut\"),\nperson(given = \"Fan\",\nfamily = \"Li\",\nrole = \"aut\"),\nperson(given = \"Donna\",\nfamily = \"Spiegelman.\",\nrole = \"aut\"))",
  "Maintainer": "Jiachen Chen <jiachen.chen322@gmail.com>",
  "Description": "To meet the needs of statistical power calculation for\nstepped wedge cluster randomized trials, we developed this\nsoftware. Different parameters can be specified by users for\ndifferent scenarios, including: cross-sectional and cohort\ndesigns, binary and continuous outcomes, marginal (GEE) and\nconditional models (mixed effects model), three link functions\n(identity, log, logit links), with and without time effects\n(the default specification assumes no-time-effect) under\nexchangeable, nested exchangeable and block exchangeable\ncorrelation structures. Unequal numbers of clusters per\nsequence are also allowed. The methods included in this\npackage: Zhou et al. (2020) <doi:10.1093/biostatistics/kxy031>,\nLi et al. (2018) <doi:10.1111/biom.12918>. Supplementary\ndocuments can be found at:\n<https://ysph.yale.edu/cmips/research/software/study-design-power-calculation/swdpwr/>.\nThe Shiny app for swdpwr can be accessed at:\n<https://jiachenchen322.shinyapps.io/swdpwr_shinyapp/>. The\npackage also includes functions that perform calculations for\nthe intra-cluster correlation coefficients based on the random\neffects variances as input variables for continuous and binary\noutcomes, respectively.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "NeedsCompilation": "yes",
  "RoxygenNote": "7.2.3",
  "Packaged": {
    "Date": "2026-05-19 10:31:05 UTC",
    "User": "root"
  },
  "Author": "Jiachen Chen [cre, aut], Xin Zhou [aut], Fan Li [aut], Donna\nSpiegelman. [aut]",
  "Repository": "https://jiachenchen322.r-universe.dev",
  "Date/Publication": "2026-05-14 18:13:44 UTC",
  "RemoteUrl": "https://github.com/cran/swdpwr",
  "RemoteRef": "HEAD",
  "RemoteSha": "a9628426cac2222006e383d668bf9fd5db72494f",
  "MD5sum": "f9627e4a062794fe365f6dbda85d47a9",
  "_user": "jiachenchen322",
  "_type": "src",
  "_file": "swdpwr_1.12.tar.gz",
  "_fileid": "c1618821262466ef8f6adb34648fa31ab3c4e9489b384ef320131697599f68ed",
  "_filesize": 155297,
  "_sha256": "c1618821262466ef8f6adb34648fa31ab3c4e9489b384ef320131697599f68ed",
  "_created": "2026-05-19T10:31:05.000Z",
  "_published": "2026-06-02T14:27:51.776Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79094562289,
      "time": 113,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7081066121"
    },
    {
      "job": 79094562382,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7081069815"
    },
    {
      "job": 79094563552,
      "time": 126,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7081069324"
    },
    {
      "job": 79094563306,
      "time": 122,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7081068829"
    },
    {
      "job": 79094564280,
      "time": 151,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7081113898"
    },
    {
      "job": 79094563802,
      "time": 285,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7081217198"
    },
    {
      "job": 79094563533,
      "time": 137,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7081173211"
    },
    {
      "job": 79094563483,
      "time": 171,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7081195171"
    },
    {
      "job": 79094561622,
      "time": 155,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7081027583"
    },
    {
      "job": 79094561608,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7360582875"
    },
    {
      "job": 79094563121,
      "time": 153,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7081078198"
    },
    {
      "job": 79094563914,
      "time": 112,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7081064922"
    },
    {
      "job": 79094563503,
      "time": 120,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7081067507"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jiachenchen322/actions/runs/26091444497",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/swdpwr",
  "_commit": {
    "id": "a9628426cac2222006e383d668bf9fd5db72494f",
    "author": "Jiachen Chen <jiachen.chen322@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.12\n",
    "time": 1778782424
  },
  "_maintainer": {
    "name": "Jiachen Chen",
    "email": "jiachen.chen322@gmail.com",
    "login": "jiachenchen322",
    "twitter": "@jiachenchencjc",
    "description": "PhD Candidate in Biostatistics at Boston University School of Public Health",
    "uuid": 51219243
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "spatstat.random",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.12",
      "date": "2026-05-14"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jiachenchen322",
      "count": 11,
      "uuid": 51219243
    }
  ],
  "_userbio": {
    "uuid": 51219243,
    "type": "user",
    "name": "Jiachen Chen",
    "description": "PhD Candidate in Biostatistics at Boston University School of Public Health"
  },
  "_downloads": {
    "count": 293,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/swdpwr"
  },
  "_searchresults": 10,
  "_topics": [
    "fortran"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/swdpwr.html",
    "manual.pdf"
  ],
  "_realowner": "jiachenchen322",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.1",
      "date": "2020-10-26"
    },
    {
      "version": "1.3",
      "date": "2020-10-31"
    },
    {
      "version": "1.4",
      "date": "2020-11-07"
    },
    {
      "version": "1.5",
      "date": "2021-05-16"
    },
    {
      "version": "1.6",
      "date": "2021-10-11"
    },
    {
      "version": "1.7",
      "date": "2022-02-20"
    },
    {
      "version": "1.8",
      "date": "2023-09-08"
    },
    {
      "version": "1.9",
      "date": "2023-09-28"
    },
    {
      "version": "1.10",
      "date": "2024-09-30"
    },
    {
      "version": "1.11",
      "date": "2024-10-08"
    },
    {
      "version": "1.12",
      "date": "2026-05-14"
    }
  ],
  "_exports": [
    "BinICC",
    "ContICC",
    "swdpower"
  ],
  "_help": [
    {
      "page": "swdpwr-package",
      "title": "Power Calculation for Stepped Wedge Cluster Randomized Trials",
      "topics": [
        "swdpwr-package",
        "swdpwr"
      ]
    },
    {
      "page": "BinICC",
      "title": "A function for calculating the intracluster correlation coefficient (ICC) for binary outcomes given the cluster level random effects variance",
      "topics": [
        "BinICC"
      ]
    },
    {
      "page": "ContICC",
      "title": "A function for calculating ICCs for continuous outcomes given random effects variances",
      "topics": [
        "ContICC"
      ]
    },
    {
      "page": "print.swdpower",
      "title": "Print the results of swdpower",
      "topics": [
        "print.swdpower"
      ]
    },
    {
      "page": "swdpower",
      "title": "A function of power calculation for Stepped Wedge Design Studies",
      "topics": [
        "swdpower"
      ]
    }
  ],
  "_rundeps": [
    "deldir",
    "lattice",
    "Matrix",
    "polyclip",
    "spatstat.data",
    "spatstat.geom",
    "spatstat.random",
    "spatstat.univar",
    "spatstat.utils"
  ],
  "_sysdeps": [
    {
      "shlib": "libgfortran",
      "package": "libgfortran5",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "fortran",
      "homepage": "http://gcc.gnu.org/",
      "description": "Runtime library for GNU Fortran applications"
    }
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "swdpwr",
  "_universes": [
    "jiachenchen322"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.12",
      "date": "2026-05-19T10:32:58.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a9628426cac2222006e383d668bf9fd5db72494f",
      "fileid": "2cad1b7b8f3419702a388157b985d78437f300b36079caf7c77e6d5212a73ada",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiachenchen322/actions/runs/26091444497"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.12",
      "date": "2026-05-19T10:33:04.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a9628426cac2222006e383d668bf9fd5db72494f",
      "fileid": "6d9a05e6bba77c471dca3501241381e3fcd0146906aee65e20b33d583778bf6a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiachenchen322/actions/runs/26091444497"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.12",
      "date": "2026-05-19T10:33:08.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a9628426cac2222006e383d668bf9fd5db72494f",
      "fileid": "7faa0195ed07bf7cf7ee4ffb6223aaf03dc20ed8f5a4c532d3887658f3834b14",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiachenchen322/actions/runs/26091444497"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.12",
      "date": "2026-05-19T10:33:01.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a9628426cac2222006e383d668bf9fd5db72494f",
      "fileid": "9a77f2a01da8f11ad63e75dcbf9daec2597156179f56bddcc3c943e20457330a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiachenchen322/actions/runs/26091444497"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.12",
      "date": "2026-05-19T10:35:10.000Z",
      "arch": "aarch64",
      "commit": "a9628426cac2222006e383d668bf9fd5db72494f",
      "fileid": "fe4bc566edf8d6dd4d41f468ea9a85aafe6403b7a4b5287b277b83dadccddbfd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiachenchen322/actions/runs/26091444497"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.12",
      "date": "2026-05-19T10:39:34.000Z",
      "arch": "x86_64",
      "commit": "a9628426cac2222006e383d668bf9fd5db72494f",
      "fileid": "e825adf395d531e6ddac3b6c91148bf0c8bb244cdbf651d92660b8abc257f845",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiachenchen322/actions/runs/26091444497"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.12",
      "date": "2026-05-19T10:38:16.000Z",
      "arch": "aarch64",
      "commit": "a9628426cac2222006e383d668bf9fd5db72494f",
      "fileid": "eeba4e1e3a775096df1c36a2aa6457c1db46b8981505c609eca6370babfb61f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiachenchen322/actions/runs/26091444497"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.12",
      "date": "2026-05-19T10:39:01.000Z",
      "arch": "x86_64",
      "commit": "a9628426cac2222006e383d668bf9fd5db72494f",
      "fileid": "4795ac7721e92ca518adf86cb388a33f4f2d5a2160d26e4d1b0e108359cf3f40",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiachenchen322/actions/runs/26091444497"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.12",
      "date": "2026-05-19T10:32:36.000Z",
      "arch": "x86_64",
      "commit": "a9628426cac2222006e383d668bf9fd5db72494f",
      "fileid": "49df443e3924dc73c1e6e5ff95819d94b8484c72b1e679b58e6d1bde41cf9663",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiachenchen322/actions/runs/26091444497"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.12",
      "date": "2026-05-19T10:32:21.000Z",
      "arch": "x86_64",
      "commit": "a9628426cac2222006e383d668bf9fd5db72494f",
      "fileid": "fb9ee3a9d3a2ff870e8037679a88f11b151a8a0430c58c9b04a0cf48b7bff9fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiachenchen322/actions/runs/26091444497"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.12",
      "date": "2026-05-19T10:32:18.000Z",
      "arch": "x86_64",
      "commit": "a9628426cac2222006e383d668bf9fd5db72494f",
      "fileid": "9dc46b885ccfa991b2a3ce61fc1cc8503ef6eb7de74de1ed0baf4b959d2fbcc6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiachenchen322/actions/runs/26091444497"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.12",
      "date": "2026-06-02T14:27:17.000Z",
      "arch": "emscripten",
      "commit": "a9628426cac2222006e383d668bf9fd5db72494f",
      "fileid": "3da69799c405e3fd35bc48eb5e48051a863f4c89f90449fe4b4f8de202b4c21b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jiachenchen322/actions/runs/26091444497"
    }
  ]
}