{
  "_id": "6aa8e7db089bafb098cf94a0",
  "Package": "presize",
  "Type": "Package",
  "Title": "Precision Based Sample Size Calculation",
  "Version": "0.3.13",
  "Authors@R": "c(person(given = \"Armando\",\nfamily = \"Lenz\",\nrole = \"aut\"),\nperson(given = \"Alan G.\",\nfamily = \"Haynes\",\nrole = c(\"cre\", \"aut\"),\nemail = \"alan.haynes@unibe.ch\"),\nperson(given = \"Andreas\",\nfamily = \"Limacher\",\nrole = \"aut\",\nemail = \"andreas.limacher@paraplegie.ch\"),\nperson(given = \"Odile\",\nfamily = \"Stalder\",\nrole = \"ctb\",\nemail = \"odile.stalder@unibe.ch\"),\nperson(given = \"Marie\",\nfamily = \"Roumet\",\nrole = \"ctb\",\nemail = \"marie.roumet@unibe.ch\"))",
  "Maintainer": "Alan G. Haynes <alan.haynes@unibe.ch>",
  "Description": "Bland (2009) <doi:10.1136/bmj.b3985> recommended to base\nstudy sizes on the width of the confidence interval rather the\npower of a statistical test. The goal of 'presize' is to\nprovide functions for such precision based sample size\ncalculations. For a given sample size, the functions will\nreturn the precision (width of the confidence interval), and\nvice versa.",
  "License": "GPL-3",
  "URL": "https://github.com/dcr-unibe-ch/presize,\nhttps://dcr-unibe-ch.github.io/presize/",
  "BugReports": "https://github.com/dcr-unibe-ch/presize/issues",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make libuv1-dev zlib1g-dev",
  "Repository": "https://ctu-bern.r-universe.dev",
  "Date/Publication": "2026-05-26 07:08:53 UTC",
  "RemoteUrl": "https://github.com/CTU-Bern/presize",
  "RemoteRef": "HEAD",
  "RemoteSha": "233e9ba05e235ca714ef596b47a820d42c0f8104",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-15 06:32:25 UTC",
    "User": "root"
  },
  "Author": "Armando Lenz [aut],\nAlan G. Haynes [cre, aut],\nAndreas Limacher [aut],\nOdile Stalder [ctb],\nMarie Roumet [ctb]",
  "_user": "ctu-bern",
  "_type": "src",
  "_file": "presize_0.3.13.tar.gz",
  "_fileid": "https://r2.ropensci.org/1df6c26ae8685b44a9211500b5a99a8aede5f3a1ddf168c0531386d026aa47ad",
  "_filesize": 1000419,
  "_sha256": "1df6c26ae8685b44a9211500b5a99a8aede5f3a1ddf168c0531386d026aa47ad",
  "_expires": "2026-12-24T06:38:17.000Z",
  "_created": "2026-09-15T06:32:25.000Z",
  "_published": "2026-09-15T06:38:19.235Z",
  "_jobs": [
    {
      "job": 104278274302,
      "time": 161,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10384236617"
    },
    {
      "job": 104278274211,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10384475529"
    },
    {
      "job": 104278274252,
      "time": 77,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10383937273"
    },
    {
      "job": 104278274275,
      "time": 148,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10384351705"
    },
    {
      "job": 104277385255,
      "time": 222,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10383631781"
    },
    {
      "job": 104278274269,
      "time": 130,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10383558359"
    },
    {
      "job": 104278274257,
      "time": 76,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10383652967"
    },
    {
      "job": 104278274330,
      "time": 94,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10383871310"
    },
    {
      "job": 104278274375,
      "time": 75,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10383776493"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/34937112425",
  "_status": "success",
  "_upstream": "https://github.com/CTU-Bern/presize",
  "_commit": {
    "id": "233e9ba05e235ca714ef596b47a820d42c0f8104",
    "author": "Alan Haynes <aghaynes@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #114 from aghaynes/master\n\nclarify mean argument in prec_mean",
    "time": 1779779333
  },
  "_maintainer": {
    "name": "Alan G. Haynes",
    "email": "alan.haynes@unibe.ch",
    "login": "aghaynes",
    "twitter": "@aghaynes",
    "description": "",
    "uuid": 6594028
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "kappaSize",
      "version": ">= 1.2",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "binom",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "gt",
      "role": "Suggests"
    },
    {
      "package": "Hmisc",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "magrittr",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "shinydashboard",
      "role": "Suggests"
    },
    {
      "package": "shinytest",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    }
  ],
  "_owner": "ctu-bern",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-47",
      "n": 6
    },
    {
      "week": "2026-10",
      "n": 9
    },
    {
      "week": "2026-11",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 10
    },
    {
      "week": "2026-13",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.3.11",
      "date": "2026-03-11"
    }
  ],
  "_topics": [
    "confidence-intervals",
    "precision",
    "sample-size-calculation",
    "shiny-app"
  ],
  "_stars": 21,
  "_contributors": [
    {
      "user": "aghaynes",
      "count": 542,
      "uuid": 6594028
    },
    {
      "user": "a-lenz",
      "count": 46,
      "uuid": 45206982
    },
    {
      "user": "ostalder",
      "count": 35,
      "uuid": 67413469
    },
    {
      "user": "mroumet",
      "count": 8,
      "uuid": 50910136
    },
    {
      "user": "arnaudkunzi",
      "count": 1,
      "uuid": 22870774
    },
    {
      "user": "majensen",
      "count": 1,
      "uuid": 82073
    }
  ],
  "_userbio": {
    "uuid": 45794307,
    "type": "organization",
    "name": "CTU Bern",
    "followers": 14,
    "description": "CTU Bern is the Clinical Trials Unit of the Faculty of Medicine and the Department of Clinical Research of the University of Bern"
  },
  "_downloads": {
    "count": 687,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/presize"
  },
  "_devurl": "https://github.com/dcr-unibe-ch/presize",
  "_pkgdown": "https://dcr-unibe-ch.github.io/presize/",
  "_searchresults": 48,
  "_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/presize.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/dcr-unibe-ch/presize",
  "_realowner": "dcr-unibe-ch",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.3",
      "date": "2020-09-02"
    },
    {
      "version": "0.2.3",
      "date": "2021-04-08"
    },
    {
      "version": "0.3.1",
      "date": "2022-03-03"
    },
    {
      "version": "0.3.3",
      "date": "2022-08-29"
    },
    {
      "version": "0.3.7",
      "date": "2023-02-27"
    },
    {
      "version": "0.3.9",
      "date": "2025-11-18"
    },
    {
      "version": "0.3.11",
      "date": "2026-03-11"
    }
  ],
  "_exports": [
    "launch_presize_app",
    "prec_auc",
    "prec_cor",
    "prec_cronb",
    "prec_icc",
    "prec_kappa",
    "prec_lim_agree",
    "prec_lr",
    "prec_mean",
    "prec_meandiff",
    "prec_neg_lr",
    "prec_or",
    "prec_pos_lr",
    "prec_prop",
    "prec_rate",
    "prec_rateratio",
    "prec_riskdiff",
    "prec_riskratio",
    "prec_sens",
    "prec_spec"
  ],
  "_help": [
    {
      "page": "launch_presize_app",
      "title": "Presize shiny app",
      "topics": [
        "launch_presize_app"
      ]
    },
    {
      "page": "prec_auc",
      "title": "Sample size or precision for AUC",
      "topics": [
        "prec_auc"
      ]
    },
    {
      "page": "prec_cor",
      "title": "Sample size or precision for correlation coefficient",
      "topics": [
        "prec_cor"
      ]
    },
    {
      "page": "prec_cronb",
      "title": "Sample size or precision for Cronbach's alpha",
      "topics": [
        "prec_cronb"
      ]
    },
    {
      "page": "prec_icc",
      "title": "Sample size or precision for an intraclass correlation",
      "topics": [
        "prec_icc"
      ]
    },
    {
      "page": "prec_kappa",
      "title": "Sample size or precision for Cohen's kappa",
      "topics": [
        "prec_kappa"
      ]
    },
    {
      "page": "prec_lim_agree",
      "title": "Sample size or precision for limit of agreement on Bland-Altman plots",
      "topics": [
        "prec_lim_agree"
      ]
    },
    {
      "page": "prec_lr",
      "title": "Sample size or precision for likelihood ratios",
      "topics": [
        "prec_lr",
        "prec_neg_lr",
        "prec_pos_lr"
      ]
    },
    {
      "page": "prec_mean",
      "title": "Sample size or precision for a mean",
      "topics": [
        "prec_mean"
      ]
    },
    {
      "page": "prec_meandiff",
      "title": "Sample size or precision for a mean difference",
      "topics": [
        "prec_meandiff"
      ]
    },
    {
      "page": "prec_or",
      "title": "Sample size or precision for an odds ratio",
      "topics": [
        "prec_or"
      ]
    },
    {
      "page": "prec_prop",
      "title": "Sample size or precision for a proportion",
      "topics": [
        "prec_prop"
      ]
    },
    {
      "page": "prec_rate",
      "title": "Sample size or precision for a rate",
      "topics": [
        "prec_rate"
      ]
    },
    {
      "page": "prec_rateratio",
      "title": "Sample size or precision for a rate ratio",
      "topics": [
        "prec_rateratio"
      ]
    },
    {
      "page": "prec_riskdiff",
      "title": "Sample size or precision for risk difference",
      "topics": [
        "prec_riskdiff"
      ]
    },
    {
      "page": "prec_riskratio",
      "title": "Sample size or precision for risk ratio",
      "topics": [
        "prec_riskratio"
      ]
    },
    {
      "page": "sensspec",
      "title": "Sample size and precision of sensitivity and specificity",
      "topics": [
        "prec_sens",
        "prec_spec"
      ]
    }
  ],
  "_pkglogo": "https://github.com/CTU-Bern/presize/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/CTU-Bern/presize/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "digest",
    "fastmap",
    "fontawesome",
    "fs",
    "glue",
    "htmltools",
    "httpuv",
    "jquerylib",
    "jsonlite",
    "kappaSize",
    "later",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "otel",
    "promises",
    "R6",
    "rappdirs",
    "Rcpp",
    "rlang",
    "sass",
    "shiny",
    "sourcetools",
    "withr",
    "xtable"
  ],
  "_vignettes": [
    {
      "source": "presize.Rmd",
      "filename": "presize.html",
      "title": "presize",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Using presize",
        "Precision with a fixed N",
        "N for a fixed precision",
        "Multiple scenarios"
      ],
      "created": "2022-03-02 14:35:36",
      "modified": "2022-08-15 08:32:25",
      "commits": 2
    }
  ],
  "_score": 6.1795517911651885,
  "_indexed": false,
  "_nocasepkg": "presize",
  "_universes": [
    "ctu-bern"
  ],
  "_indexurl": "https://dcr-unibe-ch.r-universe.dev/presize",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.13",
      "date": "2026-09-15T06:35:11.000Z",
      "distro": "resolute",
      "commit": "233e9ba05e235ca714ef596b47a820d42c0f8104",
      "fileid": "https://r2.ropensci.org/734f6d3d8d4714203058e89c84013ca0f3317ad277df7f199631abf76e057d92",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/34937112425"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.13",
      "date": "2026-09-15T06:34:59.000Z",
      "distro": "resolute",
      "commit": "233e9ba05e235ca714ef596b47a820d42c0f8104",
      "fileid": "https://r2.ropensci.org/d28037c83cfe2ade7852ccce7627c8fad8b23407e3f0f22062f54507bb8b2fb7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/34937112425"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.13",
      "date": "2026-09-15T06:36:51.000Z",
      "commit": "233e9ba05e235ca714ef596b47a820d42c0f8104",
      "fileid": "https://r2.ropensci.org/5038a865459d7d5f0b8c3d7e04f25ed743eef847bd16eb4e4eb07f4cd8ab17a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/34937112425"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.13",
      "date": "2026-09-15T06:37:38.000Z",
      "commit": "233e9ba05e235ca714ef596b47a820d42c0f8104",
      "fileid": "https://r2.ropensci.org/c46afed77d656b0b565f9175b2f29fbb188b9a70b700fedc236e69cced7c919e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/34937112425"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.13",
      "date": "2026-09-15T06:34:58.000Z",
      "commit": "233e9ba05e235ca714ef596b47a820d42c0f8104",
      "fileid": "https://r2.ropensci.org/c717e947e534e58370a9dba84e321244b2fe58506cebb0cc1217f0e75ef73595",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/34937112425"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.13",
      "date": "2026-09-15T06:33:44.000Z",
      "commit": "233e9ba05e235ca714ef596b47a820d42c0f8104",
      "fileid": "https://r2.ropensci.org/6c4c8a58e61cd54dc2646278301ca781a315401f379b7b38c108b1434961588f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/34937112425"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.13",
      "date": "2026-09-15T06:34:03.000Z",
      "commit": "233e9ba05e235ca714ef596b47a820d42c0f8104",
      "fileid": "https://r2.ropensci.org/c169197ab22f18e8eb4ae9bed5b477df506706ee75c1c03e7d27702114133d83",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/34937112425"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.13",
      "date": "2026-09-15T06:33:43.000Z",
      "commit": "233e9ba05e235ca714ef596b47a820d42c0f8104",
      "fileid": "https://r2.ropensci.org/32d51d008891af157b9361ac6986ed83c485b66909eafc9f5d3a1a95c7b63a6b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/34937112425"
    }
  ]
}