{
  "_id": "6a48c1bfe06c18f0a654a4f7",
  "Package": "SWSamp",
  "Type": "Package",
  "Title": "Computes Sample Size for a Stepped Wedge Design, using\nSimulation-Based Calculations",
  "Version": "0.3.21",
  "Additional_repositories": "https://inla.r-inla-download.org/R/stable/",
  "Authors@R": "c(\nperson(\"Gianluca\", \"Baio\",\nemail = \"g.baio@ucl.ac.uk\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-4314-2570\")),\nperson(\"Rosie\", \"Leech\",\nemail = \"\",\nrole = c(\"aut\")))",
  "Description": "Provides a suite of functions for the sample size\ncalculations and power analysis in a Stepped Wedge Trial.\nContains functions for closed-form sample size calculation\n(based on a set of specific models) and simulation-based\nprocedures that can extend the basic framework.",
  "License": "GPL-3",
  "NeedsCompilation": "no",
  "RoxygenNote": "7.3.2.9000",
  "Config/pak/sysreqs": "cmake make",
  "Repository": "https://giabaio.r-universe.dev",
  "Date/Publication": "2025-07-09 14:32:06 UTC",
  "RemoteUrl": "https://github.com/giabaio/SWSamp",
  "RemoteRef": "HEAD",
  "RemoteSha": "512449f40d7c323fbd577a486c46379592286f1f",
  "Packaged": {
    "Date": "2026-07-04 07:26:12 UTC",
    "User": "root"
  },
  "Author": "Gianluca Baio [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-4314-2570>),\nRosie Leech [aut]",
  "Maintainer": "Gianluca Baio <g.baio@ucl.ac.uk>",
  "_user": "giabaio",
  "_type": "src",
  "_file": "SWSamp_0.3.21.tar.gz",
  "_fileid": "https://r2.ropensci.org/a20c8ed5b7099f6bebdedf55be6db383622be7f8774a86071a97879f10a5f2a1",
  "_filesize": 147329,
  "_sha256": "a20c8ed5b7099f6bebdedf55be6db383622be7f8774a86071a97879f10a5f2a1",
  "_expires": "2026-10-12T08:18:05.000Z",
  "_created": "2026-07-04T07:26:12.000Z",
  "_published": "2026-07-04T08:18:07.282Z",
  "_jobs": [
    {
      "job": 85113947465,
      "time": 154,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8079601746"
    },
    {
      "job": 85113947464,
      "time": 154,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079601676"
    },
    {
      "job": 85113947448,
      "time": 118,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8079951926"
    },
    {
      "job": 85113947442,
      "time": 138,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079959237"
    },
    {
      "job": 85113779650,
      "time": 159,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079581359"
    },
    {
      "job": 85113947476,
      "time": 153,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8079601550"
    },
    {
      "job": 85113947477,
      "time": 131,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8079598616"
    },
    {
      "job": 85113947462,
      "time": 98,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8079594196"
    },
    {
      "job": 85113947481,
      "time": 114,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079596417"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/giabaio/actions/runs/28699017471",
  "_status": "success",
  "_upstream": "https://github.com/giabaio/SWSamp",
  "_commit": {
    "id": "512449f40d7c323fbd577a486c46379592286f1f",
    "author": "Gianluca Baio <g.baio@ucl.ac.uk>",
    "committer": "Gianluca Baio <g.baio@ucl.ac.uk>",
    "message": "Add close connection to see if it checks out in windows\n",
    "time": 1752071526
  },
  "_maintainer": {
    "name": "Gianluca Baio",
    "email": "g.baio@ucl.ac.uk",
    "login": "giabaio",
    "mastodon": "@gianlubaio@mas.to",
    "orcid": "0000-0003-4314-2570",
    "twitter": "@gianlubaio",
    "description": "I'm a professor of Statistics & Health Economics and the head of department @stats-ucl. I work on Bayesian stats (with applications to @r-hta and @convoigroup)",
    "uuid": 8723145
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "lme4",
      "role": "Depends"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "iterators",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "INLA",
      "role": "Suggests"
    }
  ],
  "_owner": "giabaio",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-28",
      "n": 7
    }
  ],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "giabaio",
      "count": 45,
      "uuid": 8723145
    }
  ],
  "_userbio": {
    "uuid": 8723145,
    "type": "user",
    "name": "Gianluca Baio",
    "followers": 150,
    "description": "I'm a professor of Statistics & Health Economics and the head of department @stats-ucl. I work on Bayesian stats (with applications to @r-hta and @convoigroup)"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SWSamp"
  },
  "_devurl": "https://github.com/giabaio/swsamp",
  "_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/SWSamp.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "cluster.search",
    "DE.woert",
    "HH.binary",
    "HH.count",
    "HH.normal",
    "make.swt",
    "sim.power",
    "sw.design.mat"
  ],
  "_help": [
    {
      "page": "cluster.search",
      "title": "Finds the optimum number of clusters or time points",
      "topics": [
        "cluster.search"
      ]
    },
    {
      "page": "DE.woert",
      "title": "Computes the Design Effect for a Stepped Wedge Trial",
      "topics": [
        "DE.woert"
      ]
    },
    {
      "page": "HH.binary",
      "title": "Power calculation for binary outcome based on analytic formula of Hussey and Hughes",
      "topics": [
        "HH.binary"
      ]
    },
    {
      "page": "HH.count",
      "title": "Power calculation for count outcome based on analytic formula of Hussey and Hughes",
      "topics": [
        "HH.count"
      ]
    },
    {
      "page": "HH.normal",
      "title": "Power calculation for normal outcome based on analytic formula of Hussey and Hughes",
      "topics": [
        "HH.normal"
      ]
    },
    {
      "page": "make.swt",
      "title": "Simulates a 'virtual' Stepped Wedge trial",
      "topics": [
        "make.swt"
      ]
    },
    {
      "page": "sim.power",
      "title": "Power calculations based on a simulation approach",
      "topics": [
        "sim.power"
      ]
    },
    {
      "page": "sw.design.mat",
      "title": "Creates a design matrix for a Stepped Wedge Trial",
      "topics": [
        "sw.design.mat"
      ]
    }
  ],
  "_readme": "https://github.com/giabaio/SWSamp/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "codetools",
    "doParallel",
    "foreach",
    "iterators",
    "lattice",
    "lme4",
    "MASS",
    "Matrix",
    "minqa",
    "nlme",
    "nloptr",
    "rbibutils",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang"
  ],
  "_score": 2.4771212547196626,
  "_indexed": true,
  "_nocasepkg": "swsamp",
  "_universes": [
    "giabaio"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.21",
      "date": "2026-07-04T07:28:30.000Z",
      "distro": "resolute",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/177b3651de50bfd7707073eed847ec690c1b5409ea1ebc986a5ceaa6da4b512d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/28699017471"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.21",
      "date": "2026-07-04T07:28:28.000Z",
      "distro": "resolute",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/020e59f8625284335c60a40b7e5d254d34105fb45c27859eecf58cc2af8afa89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/28699017471"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.21",
      "date": "2026-07-04T08:16:08.000Z",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/30d21cf669bfeb7ee386cdbc29120b50d99c2a73891e2ce4c0443b19b9cf908b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/28699017471"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.21",
      "date": "2026-07-04T08:17:17.000Z",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/6f7b1860f65a23761bd9eb5b2388c41965a0bd7709da4b8c03e07d37a8aca84a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/28699017471"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.21",
      "date": "2026-07-04T07:29:00.000Z",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/5bbb09d48eb0f2a6e9db1bfc6eea514ddf3f8adadf49f2f21ed711fce5bbf2e8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/28699017471"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.21",
      "date": "2026-07-04T07:27:59.000Z",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/d9b0055fbb5949a264d4cdbdc176747eecd490258e967a6e906d7f9c66d658c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/28699017471"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.21",
      "date": "2026-07-04T07:27:29.000Z",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/d973ebf8d2c3f1319c087ea139bc2eed02b879bf5d73a09504b950db1cc88ccb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/28699017471"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.21",
      "date": "2026-07-04T07:27:43.000Z",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/228d07abd4f445336f74f539bfc13dfca5b84bd08ef326277ead2fa04e59b5e8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/28699017471"
    }
  ]
}