{
  "_id": "6a2d03893efcd9bda42e9dfb",
  "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-06-13 07:11:49 UTC",
    "User": "root"
  },
  "Author": "Jiachen Chen [cre, aut], Xin Zhou [aut], Fan Li [aut], Donna\nSpiegelman. [aut]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-05-14 18:13:44 UTC",
  "RemoteUrl": "https://github.com/cran/swdpwr",
  "RemoteRef": "HEAD",
  "RemoteSha": "a9628426cac2222006e383d668bf9fd5db72494f",
  "MD5sum": "0a03571a6de75470caa1fd50bbba595b",
  "_user": "cran",
  "_type": "src",
  "_file": "swdpwr_1.12.tar.gz",
  "_fileid": "54e9a6dcf9fe07e4f96dc0ef17990739bb65a2ec5eabf7bee73357d02418b450",
  "_filesize": 156975,
  "_sha256": "54e9a6dcf9fe07e4f96dc0ef17990739bb65a2ec5eabf7bee73357d02418b450",
  "_created": "2026-06-13T07:11:49.000Z",
  "_published": "2026-06-13T07:15:21.454Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81171848946,
      "time": 112,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7608504771"
    },
    {
      "job": 81171848933,
      "time": 121,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7608505952"
    },
    {
      "job": 81171848934,
      "time": 116,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7608505276"
    },
    {
      "job": 81171848941,
      "time": 169,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7608512081"
    },
    {
      "job": 81171692300,
      "time": 157,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7608490112"
    },
    {
      "job": 81171848931,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7608503484"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27459948598",
  "_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": false,
  "_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": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 582,
    "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": [
    "abind",
    "deldir",
    "lattice",
    "Matrix",
    "polyclip",
    "spatstat.data",
    "spatstat.geom",
    "spatstat.random",
    "spatstat.sparse",
    "spatstat.univar",
    "spatstat.utils",
    "tensor"
  ],
  "_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": false,
  "_nocasepkg": "swdpwr",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://jiachenchen322.r-universe.dev/swdpwr",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.12",
      "date": "2026-06-13T07:13:38.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a9628426cac2222006e383d668bf9fd5db72494f",
      "fileid": "0474596ddc65cdebe5413760a919cf9945af31910aff41c7e5a0c76d48f67ca8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27459948598"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.12",
      "date": "2026-06-13T07:13:40.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a9628426cac2222006e383d668bf9fd5db72494f",
      "fileid": "fc4562c40553e54faccab4ec0897366f57a58b069e87e1755f434129fdd1c7d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27459948598"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.12",
      "date": "2026-06-13T07:13:41.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a9628426cac2222006e383d668bf9fd5db72494f",
      "fileid": "9a51f11e70571de730ed79f140c44fdc954ca112558e79c997c718f364d627bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27459948598"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.12",
      "date": "2026-06-13T07:14:26.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a9628426cac2222006e383d668bf9fd5db72494f",
      "fileid": "85e84c64d8ee88509fb3ca8bf9f9ec89f056d5bcaa5ab8e159f6569f628c22b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27459948598"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.12",
      "date": "2026-06-13T07:13:47.000Z",
      "arch": "emscripten",
      "commit": "a9628426cac2222006e383d668bf9fd5db72494f",
      "fileid": "b2ed2b9711fa581fffc2d227c4eef8c4cc6482335311102413d9ad6616f5ad4e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27459948598"
    }
  ]
}