{
  "_id": "6af1a699f4a180a2e271eee5",
  "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-11-09 10:51:34 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/d2365d9b6442c0ddd3ee342278871cfcc3fde42aff7e94a680e81174a22ad236",
  "_filesize": 142663,
  "_sha256": "d2365d9b6442c0ddd3ee342278871cfcc3fde42aff7e94a680e81174a22ad236",
  "_expires": "2027-02-17T10:55:19.000Z",
  "_created": "2026-11-09T10:51:34.000Z",
  "_published": "2026-11-09T10:55:21.210Z",
  "_upstream": "https://github.com/giabaio/SWSamp",
  "_status": "success",
  "_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
  },
  "_jobs": [
    {
      "job": 129116399904,
      "time": 161,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13668041284"
    },
    {
      "job": 129116399833,
      "time": 185,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13666784146"
    },
    {
      "job": 129116399950,
      "time": 139,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13667087864"
    },
    {
      "job": 129116399901,
      "time": 142,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13666114939"
    },
    {
      "job": 129114953257,
      "time": 185,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13667806565"
    },
    {
      "job": 129116399868,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13666689187"
    },
    {
      "job": 129116399975,
      "time": 102,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13667516302"
    },
    {
      "job": 129116399862,
      "time": 96,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13668170893"
    },
    {
      "job": 129116399852,
      "time": 101,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13666328911"
    }
  ],
  "_buildurl": "https://github.com/r-universe/giabaio/actions/runs/42603910673",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": [],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "giabaio",
      "count": 45,
      "uuid": 8723145
    }
  ],
  "_userbio": {
    "uuid": 8723145,
    "type": "user",
    "name": "Gianluca Baio",
    "followers": 158,
    "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.2",
  "_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/SWSamp.html"
  ],
  "_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"
  ],
  "_score": 2.4771212547196626,
  "_indexed": true,
  "_nocasepkg": "swsamp",
  "_universes": [
    "giabaio"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.21",
      "date": "2026-11-09T10:54:07.000Z",
      "distro": "resolute",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/d58fc723b9fd73530042b37c155321cec2df934c552c60049562217cfe81b8ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/42603910673"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.3.21",
      "date": "2026-11-09T10:54:26.000Z",
      "distro": "resolute",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/76a722158593fbf126c456f0ecccaa2fc625a3f3f99bf9598cac73c7270af4b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/42603910673"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.21",
      "date": "2026-11-09T10:53:44.000Z",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/ee49ecbedc9b41431a38dc3cc702a7b30ff5483ca2b9178587c0e239c10e4d8b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/42603910673"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.3.21",
      "date": "2026-11-09T10:53:51.000Z",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/99decd8731ba4cd2a1b308c8aceb1dae365019496e128d07ef2dd58187f78f52",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/42603910673"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.21",
      "date": "2026-11-09T10:53:43.000Z",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/86a5bce1474644e84d8b3afe4274d52b6a525b955172653b8ba0fe75d61d8bfa",
      "status": "success",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/42603910673"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.21",
      "date": "2026-11-09T10:52:59.000Z",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/05965e635a9c9c3df70d0ad75b76b70143d376929491beaf446ccdfc4ee30f63",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/42603910673"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.21",
      "date": "2026-11-09T10:53:03.000Z",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/477d4865f7d831dbcdb130e57e71869bc389f4911d0df12de166d271bd392bde",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/42603910673"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.3.21",
      "date": "2026-11-09T10:52:59.000Z",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/3648946ed5f27736ec7fc6406e4a69124310d9f4e0605b2061463a9d64cba1e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/42603910673"
    }
  ]
}