{
  "_id": "6a1f2efbb401979e73426c08",
  "Type": "Package",
  "Package": "precisely",
  "Title": "Estimate Sample Size Based on Precision Rather than Power",
  "Version": "0.1.2.9000",
  "Authors@R": "person(\"Malcolm\", \"Barrett\", , \"malcolmbarrett@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-0299-5825\"))",
  "Maintainer": "Malcolm Barrett <malcolmbarrett@gmail.com>",
  "Description": "Estimate sample size based on precision rather than power.\n'precisely' is a study planning tool to calculate sample size\nbased on precision. Power calculations are focused on whether\nor not an estimate will be statistically significant;\ncalculations of precision are based on the same principles as\npower calculation but turn the focus to the width of the\nconfidence interval. 'precisely' is based on the work of\n'Rothman and Greenland' (2018).",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/malcolmbarrett/precisely",
  "BugReports": "https://github.com/malcolmbarrett/precisely/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.1.2",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev zlib1g-dev",
  "Repository": "https://malcolmbarrett.r-universe.dev",
  "Date/Publication": "2021-10-10 20:29:32 UTC",
  "RemoteUrl": "https://github.com/malcolmbarrett/precisely",
  "RemoteRef": "HEAD",
  "RemoteSha": "8e4c2f2db3bfb9ac8b853a675608f7f02d301021",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-15 09:20:23 UTC",
    "User": "root"
  },
  "Author": "Malcolm Barrett [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-0299-5825>)",
  "MD5sum": "2bf2bb7756d8cdb40a3cb394df5e5a5f",
  "_user": "malcolmbarrett",
  "_type": "src",
  "_file": "precisely_0.1.2.9000.tar.gz",
  "_fileid": "1ce9aeda9ded51744f7e30b70402f38ce252dae06f7bb44cce3a245dea97d117",
  "_filesize": 3346661,
  "_sha256": "1ce9aeda9ded51744f7e30b70402f38ce252dae06f7bb44cce3a245dea97d117",
  "_created": "2026-05-15T09:20:23.000Z",
  "_published": "2026-06-02T19:28:59.011Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79154632578,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7013963330"
    },
    {
      "job": 79154633246,
      "time": 148,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013960770"
    },
    {
      "job": 79154632983,
      "time": 204,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7013964968"
    },
    {
      "job": 79154632564,
      "time": 150,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013953808"
    },
    {
      "job": 79154631423,
      "time": 208,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013916592"
    },
    {
      "job": 79154631905,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367766624"
    },
    {
      "job": 79154632491,
      "time": 102,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7013947732"
    },
    {
      "job": 79154632793,
      "time": 94,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7013944700"
    },
    {
      "job": 79154633099,
      "time": 110,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013949867"
    }
  ],
  "_buildurl": "https://github.com/r-universe/malcolmbarrett/actions/runs/25910116252",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/malcolmbarrett/precisely",
  "_commit": {
    "id": "8e4c2f2db3bfb9ac8b853a675608f7f02d301021",
    "author": "Malcolm Barrett <malcolmbarrett@gmail.com>",
    "committer": "Malcolm Barrett <malcolmbarrett@gmail.com>",
    "message": "Increment version number to 0.1.2.9000\n",
    "time": 1633897772
  },
  "_maintainer": {
    "name": "Malcolm Barrett",
    "email": "malcolmbarrett@gmail.com",
    "login": "malcolmbarrett",
    "mastodon": "@malcolmbarrett@mstdn.jp",
    "bluesky": "@malcolmbarrett.malco.io",
    "orcid": "0000-0003-0299-5825",
    "uuid": 23123711
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "shinycssloaders",
      "role": "Imports"
    },
    {
      "package": "shinythemes",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "ggrepel",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    }
  ],
  "_owner": "malcolmbarrett",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 93,
  "_contributors": [
    {
      "user": "malcolmbarrett",
      "count": 71,
      "uuid": 23123711
    },
    {
      "user": "minesh1291",
      "count": 1,
      "uuid": 6646693
    }
  ],
  "_userbio": {
    "uuid": 23123711,
    "type": "user",
    "name": "Malcolm Barrett",
    "description": "Open-source data science. Ph.D. in Epidemiology"
  },
  "_downloads": {
    "count": 214,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/precisely"
  },
  "_devurl": "https://github.com/malcolmbarrett/precisely",
  "_searchresults": 19,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/precisely.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/malcolmbarrett/precisely",
  "_realowner": "malcolmbarrett",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-06-02"
    },
    {
      "version": "0.1.1",
      "date": "2021-01-12"
    },
    {
      "version": "0.1.2",
      "date": "2021-10-10"
    }
  ],
  "_exports": [
    "%>%",
    "launch_precisely_app",
    "map_precisely",
    "n_odds_ratio",
    "n_rate_difference",
    "n_rate_ratio",
    "n_risk_difference",
    "n_risk_ratio",
    "plot_precision",
    "plot_sample_size",
    "plot_upper_limit",
    "precision_odds_ratio",
    "precision_rate_difference",
    "precision_rate_ratio",
    "precision_risk_difference",
    "precision_risk_ratio",
    "theme_precisely",
    "upper_odds_ratio",
    "upper_rate_difference",
    "upper_rate_ratio",
    "upper_risk_difference",
    "upper_risk_ratio"
  ],
  "_help": [
    {
      "page": "launch_precisely_app",
      "title": "Launch precisely Shiny app",
      "topics": [
        "launch_precisely_app"
      ]
    },
    {
      "page": "map_precisely",
      "title": "Calculate with precisely functions across values",
      "topics": [
        "map_precisely"
      ]
    },
    {
      "page": "n_risk_difference",
      "title": "Estimate sample size based on precision of a measure",
      "topics": [
        "n_odds_ratio",
        "n_rate_difference",
        "n_rate_ratio",
        "n_risk_difference",
        "n_risk_ratio"
      ]
    },
    {
      "page": "plot_sample_size",
      "title": "Plot precisely",
      "topics": [
        "plot_precision",
        "plot_sample_size",
        "plot_upper_limit"
      ]
    },
    {
      "page": "precision_risk_difference",
      "title": "Estimate precision of a measure based on sample size",
      "topics": [
        "precision_odds_ratio",
        "precision_rate_difference",
        "precision_rate_ratio",
        "precision_risk_difference",
        "precision_risk_ratio"
      ]
    },
    {
      "page": "theme_precisely",
      "title": "Minimalist themes for precision plots",
      "topics": [
        "theme_precisely"
      ]
    },
    {
      "page": "upper_risk_difference",
      "title": "Estimate sample size based on probability that upper limit is below level of concern.",
      "topics": [
        "upper_odds_ratio",
        "upper_rate_difference",
        "upper_rate_ratio",
        "upper_risk_difference",
        "upper_risk_ratio"
      ]
    }
  ],
  "_readme": "https://github.com/malcolmbarrett/precisely/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "cpp11",
    "digest",
    "dplyr",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "htmltools",
    "httpuv",
    "isoband",
    "jquerylib",
    "jsonlite",
    "labeling",
    "later",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "otel",
    "pillar",
    "pkgconfig",
    "promises",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "sass",
    "scales",
    "shiny",
    "shinycssloaders",
    "shinythemes",
    "sourcetools",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xtable"
  ],
  "_vignettes": [
    {
      "source": "introduction-to-precisely.Rmd",
      "filename": "introduction-to-precisely.html",
      "title": "Introduction to Precisely",
      "author": "Malcolm Barrett",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Estimating for precision",
        "Estimating Precision for a Sample Size",
        "Probability that upper limit is below level of concern",
        "Mapping and Plotting with precisely"
      ],
      "created": "2018-10-22 19:06:12",
      "modified": "2021-01-11 23:45:09",
      "commits": 7
    }
  ],
  "_score": 5.946206553842783,
  "_indexed": true,
  "_nocasepkg": "precisely",
  "_universes": [
    "malcolmbarrett"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2.9000",
      "date": "2026-05-15T09:22:53.000Z",
      "distro": "noble",
      "commit": "8e4c2f2db3bfb9ac8b853a675608f7f02d301021",
      "fileid": "05e3c4881db2bbd6bcb30cbff71d47ffac3ef7108694a37c26eeb4127558d79d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/malcolmbarrett/actions/runs/25910116252"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2.9000",
      "date": "2026-05-15T09:22:40.000Z",
      "distro": "noble",
      "commit": "8e4c2f2db3bfb9ac8b853a675608f7f02d301021",
      "fileid": "d39cad3c8f3d98338c1fb895feb7a6a7c9901e573472bf61a6575e69d1484431",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/malcolmbarrett/actions/runs/25910116252"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2.9000",
      "date": "2026-05-15T09:22:54.000Z",
      "commit": "8e4c2f2db3bfb9ac8b853a675608f7f02d301021",
      "fileid": "bdba2d57bb73ff13a72d778923e266e3379fc4221ff07705a22a79ebc4002f0b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/malcolmbarrett/actions/runs/25910116252"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2.9000",
      "date": "2026-05-15T09:22:24.000Z",
      "commit": "8e4c2f2db3bfb9ac8b853a675608f7f02d301021",
      "fileid": "9973955a17f836728e514ea445812fff00fa6efd0f1c925de1570f287ca12bad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/malcolmbarrett/actions/runs/25910116252"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2.9000",
      "date": "2026-05-15T09:21:47.000Z",
      "commit": "8e4c2f2db3bfb9ac8b853a675608f7f02d301021",
      "fileid": "39295beefa38f160fba4ce5e7d526d68bbc2c4e52a1f07a654b32fec3171c9bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/malcolmbarrett/actions/runs/25910116252"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2.9000",
      "date": "2026-05-15T09:21:39.000Z",
      "commit": "8e4c2f2db3bfb9ac8b853a675608f7f02d301021",
      "fileid": "f110ce7bd94c18928c30871a752e79ff7da2529597730cf361212aa470867e22",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/malcolmbarrett/actions/runs/25910116252"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.2.9000",
      "date": "2026-05-15T09:21:53.000Z",
      "commit": "8e4c2f2db3bfb9ac8b853a675608f7f02d301021",
      "fileid": "4aaf1113ea1327e95b6376a68252e14beba9e759640eda51ecaa378a0a615626",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/malcolmbarrett/actions/runs/25910116252"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2.9000",
      "date": "2026-06-02T19:28:35.000Z",
      "commit": "8e4c2f2db3bfb9ac8b853a675608f7f02d301021",
      "fileid": "a343463b90062a45bc0db78e51584ade83bd3f65cdd7b67235ef40a34a3fb08b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/malcolmbarrett/actions/runs/25910116252"
    }
  ]
}