{
  "_id": "6aca445afe5cc25786e863d4",
  "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-10-10 13:53:15 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/2437801900c3322a270054024ac4ff23e001e9fe87b619ded0ddf8ff2e2f2040",
  "_filesize": 142664,
  "_sha256": "2437801900c3322a270054024ac4ff23e001e9fe87b619ded0ddf8ff2e2f2040",
  "_expires": "2027-01-18T13:57:45.000Z",
  "_created": "2026-10-10T13:53:15.000Z",
  "_published": "2026-10-10T13:57:46.670Z",
  "_buildurl": "https://github.com/r-universe/giabaio/actions/runs/38057234197",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114228792350,
      "time": 140,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11671244243"
    },
    {
      "job": 114228792371,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11671147915"
    },
    {
      "job": 114228792356,
      "time": 149,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11672038709"
    },
    {
      "job": 114228792374,
      "time": 141,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11671659091"
    },
    {
      "job": 114228149449,
      "time": 205,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11671943518"
    },
    {
      "job": 114228792354,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11671619011"
    },
    {
      "job": 114228792329,
      "time": 100,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11671823824"
    },
    {
      "job": 114228792306,
      "time": 90,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11671983568"
    },
    {
      "job": 114228792424,
      "time": 87,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11672093468"
    }
  ],
  "_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": [],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "giabaio",
      "count": 45,
      "uuid": 8723145
    }
  ],
  "_userbio": {
    "uuid": 8723145,
    "type": "user",
    "name": "Gianluca Baio",
    "followers": 157,
    "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/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-10-10T13:55:24.000Z",
      "distro": "resolute",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/23bfa306cb5037f69c69993694c0186e2c45adb1f84f1e84d657018def730793",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/38057234197"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.21",
      "date": "2026-10-10T13:55:25.000Z",
      "distro": "resolute",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/e3eac4288efca953fa3f01c7dcb38158b90e358b65f179880dcfc47a7e02c588",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/38057234197"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.21",
      "date": "2026-10-10T13:56:36.000Z",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/fdfa74c786b8fd653206739bfdae9ef11ee7c530b5c5f557a0fbb3a8c951653b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/38057234197"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.21",
      "date": "2026-10-10T13:56:35.000Z",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/eff87cabf5820b6ca66c042c83370f44fe1d44071099a956a98b97b5cd4471b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/38057234197"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.21",
      "date": "2026-10-10T13:55:25.000Z",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/d5c063f943fb67810f8d9cdeef24673cdfb98df4fab58cf2034bae7e6c240dae",
      "status": "success",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/38057234197"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.21",
      "date": "2026-10-10T13:54:32.000Z",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/cc9aced355fa125f1f47b630eb1144ca5dee5486da1936c6d8eb41e8303a19d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/38057234197"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.21",
      "date": "2026-10-10T13:54:38.000Z",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/a9ce214f6dd6fde40a99f2ab4737a8b55dc762d07c60f5b453b0927f152f1e4a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/38057234197"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.21",
      "date": "2026-10-10T13:54:25.000Z",
      "commit": "512449f40d7c323fbd577a486c46379592286f1f",
      "fileid": "https://r2.ropensci.org/19672ea976221b8829be5f481f36873501d58aff370680b0b9c4acf38db38b39",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/giabaio/actions/runs/38057234197"
    }
  ]
}